summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_compile.c2
-rw-r--r--Zend/zend_compile.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 2295b55e39..5a705c1947 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1225,7 +1225,7 @@ zend_string *zend_type_to_string_resolved(zend_type type, zend_class_entry *scop
return str;
}
-zend_string *zend_type_to_string(zend_type type) {
+ZEND_API zend_string *zend_type_to_string(zend_type type) {
return zend_type_to_string_resolved(type, NULL);
}
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index a87204d267..3be4b80f24 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -848,7 +848,7 @@ int ZEND_FASTCALL zendlex(zend_parser_stack_elem *elem);
void zend_assert_valid_class_name(const zend_string *const_name);
zend_string *zend_type_to_string_resolved(zend_type type, zend_class_entry *scope);
-zend_string *zend_type_to_string(zend_type type);
+ZEND_API zend_string *zend_type_to_string(zend_type type);
/* BEGIN: OPCODES */