Skip to content

Commit c5d060b

Browse files
authored
PHPC-2024: Introduce macros for simpler class declarations (#1959)
* Introduce macro to simplify fetch_object function declarations * Add macro for zend_class_entry declaration * Add macro for ce_init declaration * Extract macro for Z_<ident>_OBJ_P declaration * Extract macro for Z_OBJ_<ident> declaration * Introduce macros to generate classes with helpers * Use static inline in place of zend_always_inline * Avoid macro definition for BSON regex class due to name conflicts * Remove trailing semicolons to avoid empty declarations
1 parent 993129e commit c5d060b

1 file changed

Lines changed: 148 additions & 450 deletions

File tree

0 commit comments

Comments
 (0)