From d762ee103bee45bcd18df457c2c7a9f36991c75f Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Sat, 31 Aug 2013 15:41:04 -0700 Subject: Work in progress on a simpler api --- phpcpp.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'phpcpp.h') diff --git a/phpcpp.h b/phpcpp.h index 5623c8e..35b790a 100644 --- a/phpcpp.h +++ b/phpcpp.h @@ -25,6 +25,7 @@ #include #include #include +#include #include /** @@ -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(); } } - -- cgit v1.2.3