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:
Kevin Ruland 2005-08-24 17:42:31 +00:00
commit febf005df2
2 changed files with 12 additions and 4 deletions

View file

@ -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"