diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2009-02-20 07:52:24 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2009-02-20 07:52:24 +0000 |
commit | efa11dee52ae8568993f5273b02d24b6b146816e (patch) | |
tree | d33770cb167de40cea79577056ab29c1579732b7 /Lib/swig.swg | |
parent | a1933f7bbca8cc26e393d6281afab459c8d032fd (diff) | |
download | swig-efa11dee52ae8568993f5273b02d24b6b146816e.tar.gz |
add new %begin directive for inserting code at top of wrapper file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swig.swg')
-rw-r--r-- | Lib/swig.swg | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/swig.swg b/Lib/swig.swg index e096f8492..77308e080 100644 --- a/Lib/swig.swg +++ b/Lib/swig.swg @@ -25,10 +25,11 @@ /* Code insertion directives such as %wrapper %{ ... %} */ -#define %init %insert("init") -#define %wrapper %insert("wrapper") -#define %header %insert("header") +#define %begin %insert("begin") #define %runtime %insert("runtime") +#define %header %insert("header") +#define %wrapper %insert("wrapper") +#define %init %insert("init") /* Class extension */ |