zend_string'ify
[m6w6/ext-psi] / src / types / const.h
index a75caf23b53a033b9be6bc297c8932953647c859..4dbb17103f88f1115904f945e3be2749f7e96718 100644 (file)
@@ -34,11 +34,11 @@ struct psi_impl_def_val;
 struct psi_const {
        struct psi_token *token;
        struct psi_impl_type *type;
-       char *name;
+       zend_string *name;
        struct psi_impl_def_val *val;
 };
 
-struct psi_const *psi_const_init(struct psi_impl_type *type, const char *name,
+struct psi_const *psi_const_init(struct psi_impl_type *type, zend_string *name,
                struct psi_impl_def_val *val);
 void psi_const_free(struct psi_const **constant_ptr);
 void psi_const_dump(int fd, struct psi_const *cnst);