summaryrefslogtreecommitdiff
path: root/ext/hwapi/hwapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/hwapi/hwapi.cpp')
-rw-r--r--ext/hwapi/hwapi.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/hwapi/hwapi.cpp b/ext/hwapi/hwapi.cpp
index cc204b5b74..251ab73bcb 100644
--- a/ext/hwapi/hwapi.cpp
+++ b/ext/hwapi/hwapi.cpp
@@ -67,7 +67,7 @@ static zend_class_entry *hw_api_reason_class_entry_ptr;
//}
//#endif
-function_entry hwapi_functions[] = {
+zend_function_entry hwapi_functions[] = {
PHP_FE(hwapi_dummy, NULL)
PHP_FE(hwapi_init, NULL)
PHP_FE(hwapi_hgcsp, NULL)
@@ -102,7 +102,7 @@ function_entry hwapi_functions[] = {
{NULL, NULL, NULL}
};
-static function_entry php_hw_api_functions[] = {
+static zend_function_entry php_hw_api_functions[] = {
{"hgcsp", PHP_FN(hwapi_hgcsp), NULL},
{"object", PHP_FN(hwapi_object), NULL},
{"children", PHP_FN(hwapi_children), NULL},
@@ -148,7 +148,7 @@ static function_entry php_hw_api_functions[] = {
{NULL, NULL, NULL}
};
-static function_entry php_hw_api_object_functions[] = {
+static zend_function_entry php_hw_api_object_functions[] = {
{"hw_api_object", PHP_FN(hwapi_object_new), NULL},
{"count", PHP_FN(hwapi_object_count), NULL},
{"title", PHP_FN(hwapi_object_title), NULL},
@@ -161,7 +161,7 @@ static function_entry php_hw_api_object_functions[] = {
{NULL, NULL, NULL}
};
-static function_entry php_hw_api_attribute_functions[] = {
+static zend_function_entry php_hw_api_attribute_functions[] = {
{"hw_api_attribute", PHP_FN(hwapi_attribute_new), NULL},
{"key", PHP_FN(hwapi_attribute_key), NULL},
{"value", PHP_FN(hwapi_attribute_value), NULL},
@@ -170,20 +170,20 @@ static function_entry php_hw_api_attribute_functions[] = {
{NULL, NULL, NULL}
};
-static function_entry php_hw_api_error_functions[] = {
+static zend_function_entry php_hw_api_error_functions[] = {
{"count", PHP_FN(hwapi_error_count), NULL},
{"reason", PHP_FN(hwapi_error_reason), NULL},
{NULL, NULL, NULL}
};
-static function_entry php_hw_api_content_functions[] = {
+static zend_function_entry php_hw_api_content_functions[] = {
{"hw_api_content", PHP_FN(hwapi_content_new), NULL},
{"read", PHP_FN(hwapi_content_read), NULL},
{"mimetype", PHP_FN(hwapi_content_mimetype), NULL},
{NULL, NULL, NULL}
};
-static function_entry php_hw_api_reason_functions[] = {
+static zend_function_entry php_hw_api_reason_functions[] = {
{"type", PHP_FN(hwapi_reason_type), NULL},
{"description", PHP_FN(hwapi_reason_description), NULL},
{NULL, NULL, NULL}