From 0ff83111c7bc9b32fec79c1d304d9f8e14ad5c4c Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 10 Feb 2003 20:30:24 +0000 Subject: [PATCH] byref really means that we want the zval... --- ext/rpc/com/com.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ext/rpc/com/com.c b/ext/rpc/com/com.c index c95357a997..2d5a81cb2e 100644 --- a/ext/rpc/com/com.c +++ b/ext/rpc/com/com.c @@ -539,15 +539,14 @@ static inline void vt_type_to_zpp_string(ELEMDESC *elem, smart_str *argtypes_str } } - smart_str_appendl(argtypes_str, &zppflag, 1); if (ref) { - smart_str_appendl(argtypes_str, "/", 1); + smart_str_appendl(argtypes_str, "z/", 2); *argflags = BYREF_FORCE; } else { *argflags = BYREF_NONE; - } - if (nullable) { - smart_str_appendl(argtypes_str, "!", 1); + if (nullable) { + smart_str_appendl(argtypes_str, "!", 1); + } } } -- 2.50.1