HashTable list_destructors, module_registry;
/* this function doesn't check for too many parameters */
-int getParameters(int ht, int param_count,...)
+ZEND_API int getParameters(int ht, int param_count,...)
{
void **p = EG(argument_stack).top_element-1;
int arg_count = (ulong) *p;
}
-int getParametersArray(int ht, int param_count, zval **argument_array)
+ZEND_API int getParametersArray(int ht, int param_count, zval **argument_array)
{
void **p = EG(argument_stack).top_element-1;
int arg_count = (ulong) *p;
/* Zend-optimized Extended functions */
/* this function doesn't check for too many parameters */
-int getParametersEx(int param_count,...)
+ZEND_API int getParametersEx(int param_count,...)
{
void **p = EG(argument_stack).top_element-1;
int arg_count = (ulong) *p;
}
-int getParametersArrayEx(int param_count, zval ***argument_array)
+ZEND_API int getParametersArrayEx(int param_count, zval ***argument_array)
{
void **p = EG(argument_stack).top_element-1;
int arg_count = (ulong) *p;
}
-int getThis(zval **this)
+ZEND_API int getThis(zval **this)
{
/* NEEDS TO BE IMPLEMENTED FOR ZEND */
/*
return SUCCESS;
}
-int ParameterPassedByReference(int ht, uint n)
+
+ZEND_API int ParameterPassedByReference(int ht, uint n)
{
void **p = EG(argument_stack).elements+EG(argument_stack).top-1;
ulong arg_count = (ulong) *p;
}
-int register_module(zend_module_entry *module)
+ZEND_API int register_module(zend_module_entry *module)
{
#if 0
zend_printf("%s: Registering module %d\n",module->name, module->module_number);
int zend_next_free_module(void);
-int getParameters(int ht, int param_count,...);
-int getParametersArray(int ht, int param_count, zval **argument_array);
-int getParametersEx(int param_count,...);
-int getParametersArrayEx(int param_count, zval ***argument_array);
+ZEND_API int getParameters(int ht, int param_count,...);
+ZEND_API int getParametersArray(int ht, int param_count, zval **argument_array);
+ZEND_API int getParametersEx(int param_count,...);
+ZEND_API int getParametersArrayEx(int param_count, zval ***argument_array);
-int getThis(zval **this);
+ZEND_API int getThis(zval **this);
+ZEND_API int ParameterPassedByReference(int ht, uint n);
-
-int ParameterPassedByReference(int ht, uint n);
int register_functions(zend_function_entry *functions);
void unregister_functions(zend_function_entry *functions, int count);
-int register_module(zend_module_entry *module_entry);
+ZEND_API int register_module(zend_module_entry *module_entry);
zend_class_entry *register_internal_class(zend_class_entry *class_entry);
ZEND_API void wrong_param_count(void);