Skip to content

Commit bd15395

Browse files
bjoriderickr
authored andcommitted
PHPC-397: RETURN_*() should RETURN ! :)
1 parent e5a4217 commit bd15395

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

phongo_compat.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@
161161
# define phongo_zpp_char_len size_t
162162
# define ZEND_HASH_APPLY_COUNT(ht) (ht)->u.v.nApplyCount
163163
# define PHONGO_RETVAL_STRINGL(s, slen) RETVAL_STRINGL(s, slen)
164-
# define PHONGO_RETURN_STRINGL(s, slen) RETVAL_STRINGL(s, slen)
165-
# define PHONGO_RETURN_STRING(s) RETVAL_STRING(s)
164+
# define PHONGO_RETURN_STRINGL(s, slen) RETURN_STRINGL(s, slen)
165+
# define PHONGO_RETURN_STRING(s) RETURN_STRING(s)
166166
#else
167167
# define phongo_char char
168168
# define phongo_char_pdup(str) pestrdup(filename, 1)
@@ -183,8 +183,8 @@
183183
# define phongo_zpp_char_len int
184184
# define ZEND_HASH_APPLY_COUNT(ht) (ht)->nApplyCount
185185
# define PHONGO_RETVAL_STRINGL(s, slen) RETVAL_STRINGL(s, slen, 1)
186-
# define PHONGO_RETURN_STRINGL(s, slen) RETVAL_STRINGL(s, slen, 1)
187-
# define PHONGO_RETURN_STRING(s) RETVAL_STRING(s, 1)
186+
# define PHONGO_RETURN_STRINGL(s, slen) RETURN_STRINGL(s, slen, 1)
187+
# define PHONGO_RETURN_STRING(s) RETURN_STRING(s, 1)
188188
#endif
189189

190190

0 commit comments

Comments
 (0)