Remove remnants of attempts to wrap to PHP global vars

This isn't really workable since PHP doesn't support intercepting
accesses to global variables (nor to static class properties, so
we can't wrap C/C++ global variables that way either).

The _get() and _set() function wrappers actually work and have
been generated for a very long time.
This commit is contained in:
Olly Betts 2021-04-17 05:59:18 +12:00
commit 2629764e3f
3 changed files with 16 additions and 69 deletions

View file

@ -10,7 +10,6 @@
%include <phpinit.swg> // PHP initialization routine.
%include <globalvar.i> // Global variables.
%include <const.i>
// use %init %{ "/*code goes here*/ " %}