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 leaks
[m6w6/ext-psi]
/
src
/
types
/
const.h
diff --git
a/src/types/const.h
b/src/types/const.h
index 8af18f2f822661d2329d018348d58924c1ef6fe2..4dbb17103f88f1115904f945e3be2749f7e96718 100644
(file)
--- a/
src/types/const.h
+++ b/
src/types/const.h
@@
-28,19
+28,21
@@
struct psi_data;
struct psi_token;
struct psi_data;
struct psi_token;
-struct psi_
const
_type;
+struct psi_
impl
_type;
struct psi_impl_def_val;
struct psi_const {
struct psi_token *token;
struct psi_impl_def_val;
struct psi_const {
struct psi_token *token;
- struct psi_
const
_type *type;
-
char
*name;
+ struct psi_
impl
_type *type;
+
zend_string
*name;
struct psi_impl_def_val *val;
};
struct psi_impl_def_val *val;
};
-struct psi_const *psi_const_init(struct psi_const_type *type, const char *name, struct psi_impl_def_val *val);
+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);
void psi_const_free(struct psi_const **constant_ptr);
void psi_const_dump(int fd, struct psi_const *cnst);
-bool psi_const_validate(struct psi_data *data, struct psi_const *c);
+bool psi_const_validate(struct psi_data *data, struct psi_const *c,
+ struct psi_validate_scope *scope);
#endif
#endif