forked from hhvm/xhp-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext.hpp
28 lines (25 loc) · 1.25 KB
/
ext.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
+----------------------------------------------------------------------+
| XHP |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) |
| Copyright (c) 2009-2013 Facebook, Inc. (http://www.facebook.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend license, |
| that is bundled with this package in the file LICENSE.ZEND, and is |
| available through the world-wide-web at the following url: |
| http://www.zend.com/license/2_00.txt. |
| If you did not receive a copy of the Zend license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| [email protected] so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#pragma once
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "php.h"
#define PHP_XHP_VERSION "1.5"
#define PHP_XHP_EXTNAME "xhp"
extern zend_module_entry xhp_module_entry;
#define phpext_xhp_ptr &xhp_module_entry