diff options
author | Olly Betts <olly@survex.com> | 2021-04-17 05:59:18 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2021-04-17 05:59:18 +1200 |
commit | 2629764e3f777adf60eed8922b1dc97cdff41169 (patch) | |
tree | 0e182f7c9e469585908f449e73494158e00b7c25 /Doc | |
parent | a51a5c77f2ca9e9c5875d09b31fb3cf514de00c4 (diff) | |
download | swig-2629764e3f777adf60eed8922b1dc97cdff41169.tar.gz |
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.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Manual/Php.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Manual/Php.html b/Doc/Manual/Php.html index 881b837e9..6a53b3189 100644 --- a/Doc/Manual/Php.html +++ b/Doc/Manual/Php.html @@ -306,8 +306,10 @@ print seki_get(); <p> SWIG supports global variables of all C datatypes including pointers -and complex objects. Additional types can be supported by using the -<tt>varinit</tt> typemap. +and complex objects. To support additional types, you just need to +supply the standard <tt>in</tt> and <tt>out</tt> typemaps, which get +used because of the wrapping as <tt>_get()</tt> and <tt>_set()</tt> +functions. </p> <p> |