From 24276c548e5ac03e167a2ded7f8927ae5466d449 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 6 Feb 2018 14:51:15 +0100 Subject: Make our API consistent --- src/sp_var_value.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp_var_value.c') diff --git a/src/sp_var_value.c b/src/sp_var_value.c index 05598bf..68fd47c 100644 --- a/src/sp_var_value.c +++ b/src/sp_var_value.c @@ -100,7 +100,7 @@ static void *get_entry_hashtable(const HashTable *ht, const char *entry, static zval *get_array_value(zend_execute_data *ed, zval *zvalue, const sp_tree *tree) { - zval *idx_value = get_value(ed, tree->idx, false); + zval *idx_value = sp_get_var_value(ed, tree->idx, false); if (!zvalue || !idx_value) { return NULL; @@ -177,7 +177,7 @@ static zval *get_unknown_type(const char *restrict value, zval *zvalue, return zvalue; } -zval *get_value(zend_execute_data *ed, const sp_tree *tree, bool is_param) { +zval *sp_get_var_value(zend_execute_data *ed, const sp_tree *tree, bool is_param) { zval *zvalue = NULL; zend_class_entry *ce = NULL; -- cgit v1.3