diff options
author | Sterling Hughes <sterling@php.net> | 2001-05-10 05:42:54 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-05-10 05:42:54 +0000 |
commit | b01ba3f82085a318526be69b986c1eb186b6b768 (patch) | |
tree | d7522aaaa8a80a8bd275a0d7e490cea4fcdc26eb /ext/rpc | |
parent | aaa44ba2714d3d583e9f7e9cebd155cfa7f61b46 (diff) | |
download | php-git-b01ba3f82085a318526be69b986c1eb186b6b768.tar.gz |
Fix naming issue
# UNTESTED, but it should do the trick
# everyone on a winblows box please try out the change
Diffstat (limited to 'ext/rpc')
-rw-r--r-- | ext/rpc/com/com_wrapper.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/rpc/com/com_wrapper.c b/ext/rpc/com/com_wrapper.c index 44b35fb4c7..57856f0e3f 100644 --- a/ext/rpc/com/com_wrapper.c +++ b/ext/rpc/com/com_wrapper.c @@ -60,8 +60,8 @@ zend_class_entry com_class_entry; -PHP_FUNCTION(COM_load); -PHP_FUNCTION(COM_invoke); +PHP_FUNCTION(com_load); +PHP_FUNCTION(com_invoke); PHP_FUNCTION(com_propget); PHP_FUNCTION(com_propput); @@ -69,8 +69,8 @@ static int le_idispatch; static int codepage; function_entry COM_functions[] = { - PHP_FE(COM_load, NULL) - PHP_FE(COM_invoke, NULL) + PHP_FE(com_load, NULL) + PHP_FE(com_invoke, NULL) PHP_FE(com_propget, NULL) PHP_FE(com_propput, NULL) @@ -273,7 +273,7 @@ PHP_INI_END() /* {{{ proto int com_load(string module_name [, string remote_host [, int codepage]]) Loads a COM module */ -PHP_FUNCTION(COM_load) +PHP_FUNCTION(com_load) { pval *module_name, *server_name=NULL, *code_page; CLSID clsid; @@ -427,7 +427,7 @@ int do_COM_invoke(i_dispatch *obj, pval *function_name, VARIANTARG *var_result, /* {{{ proto mixed com_invoke(int module, string handler_name [, mixed arg [, ...]]) Invokes a COM module */ -PHP_FUNCTION(COM_invoke) +PHP_FUNCTION(com_invoke) { pval **arguments; pval *object, *function_name; @@ -823,7 +823,7 @@ PHPAPI void php_COM_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_pro && !strcmp(function_name->element.value.str.val, "com")) { /* constructor */ pval *object_handle; - PHP_FN(COM_load)(INTERNAL_FUNCTION_PARAM_PASSTHRU); + PHP_FN(com_load)(INTERNAL_FUNCTION_PARAM_PASSTHRU); if (!zend_is_true(return_value)) { var_reset(object); return; |