summaryrefslogtreecommitdiff
path: root/ext/standard/php_assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_assert.h')
-rw-r--r--ext/standard/php_assert.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/standard/php_assert.h b/ext/standard/php_assert.h
index a5a50f6b22..dbb8daa393 100644
--- a/ext/standard/php_assert.h
+++ b/ext/standard/php_assert.h
@@ -21,8 +21,12 @@
#ifndef _PHP_ASSERT_H
#define _PHP_ASSERT_H
-extern zend_module_entry assert_module_entry;
-#define phpext_assert_ptr &assert_module_entry
-
+PHP_MINIT_FUNCTION(assert);
+PHP_MSHUTDOWN_FUNCTION(assert);
+PHP_RINIT_FUNCTION(assert);
+PHP_RSHUTDOWN_FUNCTION(assert);
+PHP_MINFO_FUNCTION(assert);
+PHP_FUNCTION(assert);
+PHP_FUNCTION(assert_options);
#endif /* _PHP_ASSERT_H */