summaryrefslogtreecommitdiff
path: root/main/php_main.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-08-18 23:19:27 +0000
committerWez Furlong <wez@php.net>2003-08-18 23:19:27 +0000
commitef498a27b856ee8c9b0133ae12ac52b415d8a7cc (patch)
treeea0328a78b68b4761c69c71806f4ac8597f2d071 /main/php_main.h
parent391c027da6147b10804347a6e5a17e17064f0c24 (diff)
downloadphp-git-ef498a27b856ee8c9b0133ae12ac52b415d8a7cc.tar.gz
linkage for C++
Diffstat (limited to 'main/php_main.h')
-rw-r--r--main/php_main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_main.h b/main/php_main.h
index 73e0476125..bc74da8ef4 100644
--- a/main/php_main.h
+++ b/main/php_main.h
@@ -26,6 +26,7 @@
#include "php_globals.h"
#include "SAPI.h"
+BEGIN_EXTERN_C();
PHPAPI int php_request_startup(TSRMLS_D);
PHPAPI void php_request_shutdown(void *dummy);
PHPAPI void php_request_shutdown_for_exec(void *dummy);
@@ -52,5 +53,6 @@ extern void php_call_shutdown_functions(void);
/* environment module */
extern int php_init_environ(void);
extern int php_shutdown_environ(void);
+END_EXTERN_C();
#endif