summaryrefslogtreecommitdiff
path: root/phpcpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'phpcpp.h')
-rw-r--r--phpcpp.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/phpcpp.h b/phpcpp.h
index 5623c8e..35b790a 100644
--- a/phpcpp.h
+++ b/phpcpp.h
@@ -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(); } }
-