@@ -31,7 +31,7 @@ static int module_count=0;
31
31
HashTable list_destructors , module_registry ;
32
32
33
33
/* this function doesn't check for too many parameters */
34
- int getParameters (int ht , int param_count ,...)
34
+ ZEND_API int getParameters (int ht , int param_count ,...)
35
35
{
36
36
void * * p = EG (argument_stack ).top_element - 1 ;
37
37
int arg_count = (ulong ) * p ;
@@ -69,7 +69,7 @@ int getParameters(int ht, int param_count,...)
69
69
}
70
70
71
71
72
- int getParametersArray (int ht , int param_count , zval * * argument_array )
72
+ ZEND_API int getParametersArray (int ht , int param_count , zval * * argument_array )
73
73
{
74
74
void * * p = EG (argument_stack ).top_element - 1 ;
75
75
int arg_count = (ulong ) * p ;
@@ -107,7 +107,7 @@ int getParametersArray(int ht, int param_count, zval **argument_array)
107
107
108
108
/* Zend-optimized Extended functions */
109
109
/* this function doesn't check for too many parameters */
110
- int getParametersEx (int param_count ,...)
110
+ ZEND_API int getParametersEx (int param_count ,...)
111
111
{
112
112
void * * p = EG (argument_stack ).top_element - 1 ;
113
113
int arg_count = (ulong ) * p ;
@@ -130,7 +130,7 @@ int getParametersEx(int param_count,...)
130
130
}
131
131
132
132
133
- int getParametersArrayEx (int param_count , zval * * * argument_array )
133
+ ZEND_API int getParametersArrayEx (int param_count , zval * * * argument_array )
134
134
{
135
135
void * * p = EG (argument_stack ).top_element - 1 ;
136
136
int arg_count = (ulong ) * p ;
@@ -148,7 +148,7 @@ int getParametersArrayEx(int param_count, zval ***argument_array)
148
148
}
149
149
150
150
151
- int getThis (zval * * this )
151
+ ZEND_API int getThis (zval * * this )
152
152
{
153
153
/* NEEDS TO BE IMPLEMENTED FOR ZEND */
154
154
/*
@@ -163,7 +163,8 @@ int getThis(zval **this)
163
163
return SUCCESS ;
164
164
}
165
165
166
- int ParameterPassedByReference (int ht , uint n )
166
+
167
+ ZEND_API int ParameterPassedByReference (int ht , uint n )
167
168
{
168
169
void * * p = EG (argument_stack ).elements + EG (argument_stack ).top - 1 ;
169
170
ulong arg_count = (ulong ) * p ;
@@ -653,7 +654,7 @@ void unregister_functions(zend_function_entry *functions,int count)
653
654
}
654
655
655
656
656
- int register_module (zend_module_entry * module )
657
+ ZEND_API int register_module (zend_module_entry * module )
657
658
{
658
659
#if 0
659
660
zend_printf ("%s: Registering module %d\n" ,module -> name , module -> module_number );
0 commit comments