Skip to content

Commit

Permalink
Remove ZEPHIR_OBS_VAR() macro to use directly the function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Nov 20, 2023
1 parent c5b2705 commit 56bd4fb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ int zephir_set_symbol_str(char *key_name, unsigned int key_length, zval *value);
} \
ZVAL_DUP(d, v);

#define ZEPHIR_OBS_VAR(z) \
zephir_memory_observe(z)

#define ZEPHIR_OBS_VAR_ONCE(z) \
if (Z_TYPE_P(z) == IS_UNDEF) { \
zephir_memory_observe(z); \
Expand Down

0 comments on commit 56bd4fb

Please sign in to comment.