1
0
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:
Alex Palaistras 2015-10-18 00:34:08 +01:00
parent 3542780c5e
commit 2381ebcc6c

View File

@ -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) {