1 #ifndef _PSI_TYPES_SET_FUNC_H
2 #define _PSI_TYPES_SET_FUNC_H
6 typedef struct set_func
{
7 struct psi_token
*token
;
10 void (*handler
)(zval
*, struct set_value
*set
, impl_val
*ret_val
);
13 static inline set_func
*init_set_func(token_t type
, const char *name
) {
14 set_func
*func
= calloc(1, sizeof(*func
));
16 func
->name
= strdup(name
);
20 static inline void free_set_func(set_func
*func
) {