Added support for a %shutdown %{ %}, or %insert("shutdown") %{ %} block to
inject code into the PHP_MSHUTDOWN_FUNCTION. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3ab65a48a0
commit
febf005df2
2 changed files with 12 additions and 4 deletions
|
|
@ -13,6 +13,10 @@
|
|||
%include "globalvar.i" // Global variables.
|
||||
%include "const.i"
|
||||
|
||||
// use %shutdown %{ " /*code goes here*/ " %} to
|
||||
// insert code in the PHP_MSHUTDOWN_FUNCTION
|
||||
#define %shutdown %insert("shutdown")
|
||||
|
||||
/* Typemaps for input parameters by value */
|
||||
|
||||
%include "utils.i"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue