Permalink
Browse files

- Remove _EX and make it the old _LENGTH

  • Loading branch information...
1 parent a050e02 commit c34560b53d0a5ac03894252bc67eb7c3ffe44cfc @andigutmans andigutmans committed Dec 3, 1999
Showing with 6 additions and 9 deletions.
  1. +6 −9 Zend/zend_API.h
View
@@ -239,17 +239,14 @@ ZEND_API int add_property_stringl(zval *arg, char *key, char *str, uint length,
}
-#define ZEND_SET_SYMBOL(symtable, name, var) \
- { \
- char *_name = (name); \
- \
- ZEND_SET_SYMBOL_WITH_LENGTH(symtable, _name, strlen(_name)+1, var, 0); \
+#define ZEND_SET_SYMBOL(symtable, name, var) \
+ { \
+ char *_name = (name); \
+ \
+ ZEND_SET_SYMBOL_WITH_LENGTH(symtable, _name, strlen(_name)+1, var, 0, 0); \
}
-#define ZEND_SET_SYMBOL_WITH_LENGTH(symtable, name, name_length, var, _refcount) \
- ZEND_SET_SYMBOL_WITH_LENGTH_EX(symtable, name, name_length, var, _refcount, 0)
-
-#define ZEND_SET_SYMBOL_WITH_LENGTH_EX(symtable, name, name_length, var, _refcount, _is_ref) \
+#define ZEND_SET_SYMBOL_WITH_LENGTH(symtable, name, name_length, var, _refcount, _is_ref) \
{ \
zval **orig_var; \
\

0 comments on commit c34560b

Please sign in to comment.