summaryrefslogtreecommitdiff
path: root/ext/ffi/php_ffi.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-10-22 17:52:56 +0300
committerDmitry Stogov <dmitry@zend.com>2019-10-22 17:52:56 +0300
commit1417352dda354c22db43a8d4dbaa967575e2720c (patch)
treec81334fc746ea0ea86635c68abf89a8ea94c96c9 /ext/ffi/php_ffi.h
parent1c9bfcb6a766d4062f2dd1e594b30831d59cc36c (diff)
downloadphp-git-1417352dda354c22db43a8d4dbaa967575e2720c.tar.gz
Allow loading FFI bindings through ffi.preload directive
Diffstat (limited to 'ext/ffi/php_ffi.h')
-rw-r--r--ext/ffi/php_ffi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ffi/php_ffi.h b/ext/ffi/php_ffi.h
index 0f511fccf0..b9f01d6e96 100644
--- a/ext/ffi/php_ffi.h
+++ b/ext/ffi/php_ffi.h
@@ -38,6 +38,7 @@ ZEND_BEGIN_MODULE_GLOBALS(ffi)
HashTable types;
/* preloading */
+ char *preload;
HashTable *scopes; /* list of preloaded scopes */
/* callbacks */