]> granicus.if.org Git - php/commitdiff
- Add missing PHPAPI
authorMarcus Boerger <helly@php.net>
Mon, 5 Feb 2007 20:04:56 +0000 (20:04 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 5 Feb 2007 20:04:56 +0000 (20:04 +0000)
ext/spl/spl_engine.c
ext/spl/spl_engine.h

index 0f6f2e9e454679322b3bc8621229e61c8d96c40c..9404e8e24c61877031cce15f68e2555220e9fd1c 100755 (executable)
@@ -32,7 +32,7 @@
 #include "spl_array.h"
 
 /* {{{ spl_instantiate */
-void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC)
+PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC)
 {
        if (alloc) {
                ALLOC_ZVAL(*object);
index d331907a3a3382cbf6a46ba0cd5204caac1f0de5..6aba5d5e55f147c91bf290ba3f2378bd95664c9d 100755 (executable)
@@ -37,7 +37,7 @@ static inline zend_class_entry *spl_get_class_entry(zval *obj TSRMLS_DC)
 }
 /* }}} */
 
-void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC);
+PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC);
 
 /* {{{ spl_instantiate_arg_ex1 */
 static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval **retval, int alloc, zval *arg1 TSRMLS_DC)