mirror of
https://github.com/deuill/go-php.git
synced 2024-09-21 00:40:45 +00:00
Return value kind from internal struct field
This commit is contained in:
parent
3542780c5e
commit
2381ebcc6c
@ -23,7 +23,7 @@ engine_value *value_new(zval *zv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int value_kind(engine_value *val) {
|
int value_kind(engine_value *val) {
|
||||||
return Z_TYPE_P(val->value);
|
return val->kind;
|
||||||
}
|
}
|
||||||
|
|
||||||
engine_value *value_create_long(long int value) {
|
engine_value *value_create_long(long int value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user