projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix float formats; fix sime defval edge cases
[m6w6/ext-psi]
/
src
/
types
/
const.h
diff --git
a/src/types/const.h
b/src/types/const.h
index a75caf23b53a033b9be6bc297c8932953647c859..da0607127171e1f031c4043a0c0ef850ae853ffc 100644
(file)
--- a/
src/types/const.h
+++ b/
src/types/const.h
@@
-34,14
+34,14
@@
struct psi_impl_def_val;
struct psi_const {
struct psi_token *token;
struct psi_impl_type *type;
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_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);
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);
+void psi_const_dump(
struct psi_dump *dump
, struct psi_const *cnst);
bool psi_const_validate(struct psi_data *data, struct psi_const *c,
struct psi_validate_scope *scope);
bool psi_const_validate(struct psi_data *data, struct psi_const *c,
struct psi_validate_scope *scope);