diff --git a/lua_closure.c b/lua_closure.c index 10b9095..b4b2be8 100644 --- a/lua_closure.c +++ b/lua_closure.c @@ -15,7 +15,6 @@ | Marcelo Araujo | | Helmut Januschka | +----------------------------------------------------------------------+ - $Id: lua_closure.c 319740 2011-11-24 08:06:48Z laruence $ */ #ifdef HAVE_CONFIG_H diff --git a/lua_closure.h b/lua_closure.h index ed384b0..511a831 100644 --- a/lua_closure.h +++ b/lua_closure.h @@ -11,16 +11,18 @@ | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author : Johannes Schlueter | - | Xinchen Hui | + | Xinchen Hui | | Marcelo Araujo | | Helmut Januschka | +----------------------------------------------------------------------+ - $Id: lua_closure.h 319733 2011-11-24 07:13:56Z laruence $ */ +#ifndef LUA_CLOSURE_H +#define LUA_CLOSURE_H void php_lua_closure_register(); zend_class_entry *php_lua_get_closure_ce(); zval * php_lua_closure_instance(zval *instance, long ref_id, zval *lua_obj); +#endif /* * Local variables: diff --git a/php_lua.h b/php_lua.h index db78a58..d63f57e 100644 --- a/php_lua.h +++ b/php_lua.h @@ -15,7 +15,6 @@ | Marcelo Araujo | | Helmut Januschka | +----------------------------------------------------------------------+ - $Id: php_lua.h 324349 2012-03-19 03:17:15Z laruence $ */ #ifndef PHP_LUA_H @@ -49,15 +48,8 @@ extern zend_module_entry lua_module_entry; #define LUA_G(v) (lua_globals.v) #endif -#if ((PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION < 3)) || (PHP_MAJOR_VERSION < 5) -#define Z_ADDREF_P ZVAL_ADDREF -#define Z_REFCOUNT_P ZVAL_REFCOUNT -#define Z_DELREF_P ZVAL_DELREF -#endif - #define PHP_LUA_VERSION "1.1.1-dev" - struct _php_lua_object { lua_State *L; zend_object obj; @@ -81,8 +73,8 @@ PHP_MINFO_FUNCTION(lua); PHP_METHOD(lua, __construct); PHP_METHOD(lua, eval); PHP_METHOD(lua, require); -#endif /* PHP_LUA_H */ +#endif /* PHP_LUA_H */ /* * Local variables: