1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00

byref really means that we want the zval...

This commit is contained in:
Wez Furlong
2003-02-10 20:30:24 +00:00
parent 6d95ea199d
commit 0ff83111c7
+4 -5
View File
@@ -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);
}
}
}