diff options
| author | Harald Radi <phanto@php.net> | 2002-07-19 16:19:00 +0000 |
|---|---|---|
| committer | Harald Radi <phanto@php.net> | 2002-07-19 16:19:00 +0000 |
| commit | cbe4f69663df75f6021eb1ff009fac57e6e78380 (patch) | |
| tree | c10a7bc5aae37007ab731787cac0fcadc9cace67 /ext/rpc/rpc.c | |
| parent | fd428a4882177fbc49d73794bfcff3d05556fc07 (diff) | |
| download | php-git-cbe4f69663df75f6021eb1ff009fac57e6e78380.tar.gz | |
- added a skeleton for new layers
- a bit cleanup
Diffstat (limited to 'ext/rpc/rpc.c')
| -rw-r--r-- | ext/rpc/rpc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/rpc/rpc.c b/ext/rpc/rpc.c index 8ed2f2bd77..65f9330019 100644 --- a/ext/rpc/rpc.c +++ b/ext/rpc/rpc.c @@ -381,6 +381,7 @@ static HashTable* rpc_get_properties(zval *object TSRMLS_DC) static union _zend_function* rpc_get_method(zval *object, char *method, int method_len TSRMLS_DC) { zend_function *function; + unsigned char *ref_types = NULL; GET_INTERNAL(intern); if (zend_ts_hash_find(&(intern->function_table), method, method_len + 1, &function) != SUCCESS) { @@ -394,11 +395,11 @@ static union _zend_function* rpc_get_method(zval *object, char *method, int meth method_name.str = method; method_name.len = method_len; - RPC_HT(intern)->rpc_describe(method_name, intern->data, &arg_types); + RPC_HT(intern)->rpc_describe(method_name, intern->data, &arg_types, &ref_types); } zif = (zend_internal_function *) emalloc(sizeof(zend_internal_function)); - zif->arg_types = NULL; + zif->arg_types = ref_types; zif->function_name = method; zif->handler = ZEND_FN(rpc_call); zif->scope = intern->ce; |
