diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-08-31 15:41:04 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-08-31 15:41:04 -0700 |
commit | d762ee103bee45bcd18df457c2c7a9f36991c75f (patch) | |
tree | bd8937a36a205a8755ac485c4ede65c10078b375 /phpcpp.h | |
parent | 708e9cf9da9571a38ac8d2529d016cd78ce8ec54 (diff) |
Work in progress on a simpler api
Diffstat (limited to 'phpcpp.h')
-rw-r--r-- | phpcpp.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -25,6 +25,7 @@ #include <phpcpp/member.h> #include <phpcpp/arguments.h> #include <phpcpp/function.h> +#include <phpcpp/functions.h> #include <phpcpp/extension.h> /** @@ -36,8 +37,3 @@ # define PHPCPP_EXPORT #endif -/** - * Macro to activate the extension - */ -#define PHP_CPP_EXTENSION(classname) extern "C" { PHPCPP_EXPORT void *get_module() { static classname extension; return extension.entry(); } } - |