summaryrefslogtreecommitdiff
path: root/phpcpp.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-08-31 15:41:04 -0700
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-08-31 15:41:04 -0700
commitd762ee103bee45bcd18df457c2c7a9f36991c75f (patch)
treebd8937a36a205a8755ac485c4ede65c10078b375 /phpcpp.h
parent708e9cf9da9571a38ac8d2529d016cd78ce8ec54 (diff)
Work in progress on a simpler api
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(); } }
-