summaryrefslogtreecommitdiff
path: root/ext/rpc/dotnet/php_dotnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rpc/dotnet/php_dotnet.h')
-rw-r--r--ext/rpc/dotnet/php_dotnet.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/rpc/dotnet/php_dotnet.h b/ext/rpc/dotnet/php_dotnet.h
new file mode 100644
index 0000000000..570f4bdc7f
--- /dev/null
+++ b/ext/rpc/dotnet/php_dotnet.h
@@ -0,0 +1,21 @@
+#ifndef PHP_DOTNET_H
+#define PHP_DOTNET_H
+
+#if WIN32|WINNT
+
+extern PHP_MINIT_FUNCTION(DOTNET);
+extern PHP_MSHUTDOWN_FUNCTION(DOTNET);
+PHP_FUNCTION(DOTNET_load);
+
+extern zend_module_entry DOTNET_module_entry;
+#define DOTNET_module_ptr &DOTNET_module_entry
+
+#else
+
+#define DOTNET_module_ptr NULL
+
+#endif /* Win32|WINNT */
+
+#define phpext_DOTNET_ptr DOTNET_module_ptr
+
+#endif /* PHP_DOTNET_H */