Rename `context_bind_zval` to `context_bind_proxy` for consistency

This commit is contained in:
Alex Palaistras 2016-05-03 18:05:19 +01:00
parent 6c0669dd67
commit d64dade5fe
5 changed files with 5 additions and 5 deletions

View File

@ -95,7 +95,7 @@ void *context_eval(engine_context *context, char *script) {
void context_bind(engine_context *context, char *name, void *value) {
engine_value *v = (engine_value *) value;
context_bind_zval(name, v->internal);
context_bind_proxy(name, v->internal);
}
void context_destroy(engine_context *context) {

View File

@ -5,7 +5,7 @@
#ifndef ___CONTEXT_H___
#define ___CONTEXT_H___
static void context_bind_zval(char *name, zval *value);
static void context_bind_proxy(char *name, zval *value);
#define CONTEXT_EXECUTE(o, v) do { \
zend_op_array *oparr = EG(active_op_array); \

View File

@ -5,7 +5,7 @@
#ifndef ___CONTEXT_H___
#define ___CONTEXT_H___
static void context_bind_zval(char *name, zval *value);
static void context_bind_proxy(char *name, zval *value);
#define CONTEXT_EXECUTE(o, v) do { \
EG(no_extensions) = 1; \

View File

@ -2,6 +2,6 @@
// Use of this source code is governed by the MIT license that can be found in
// the LICENSE file.
static void context_bind_zval(char *name, zval *value) {
static void context_bind_proxy(char *name, zval *value) {
ZEND_SET_SYMBOL(EG(active_symbol_table), name, value);
}

View File

@ -2,6 +2,6 @@
// Use of this source code is governed by the MIT license that can be found in
// the LICENSE file.
static void context_bind_zval(char *name, zval *value) {
static void context_bind_proxy(char *name, zval *value) {
zend_hash_str_update(&EG(symbol_table), name, strlen(name), value);
}