diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2013-12-13 08:11:17 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-12-13 08:11:17 +0000 |
commit | 0f4ceaf5923fd9a30eb9201048cd285a9bba8084 (patch) | |
tree | 7fb4c9fcf4be2e96f512d1ab79efeb2eeca5c38d /Lib/swig.swg | |
parent | 2121e1217eae19a0a3e852fc52c89f55faf7e20a (diff) | |
download | swig-0f4ceaf5923fd9a30eb9201048cd285a9bba8084.tar.gz |
Deprecation of the 'nestedworkaround' feature
Also add in macros for the flatnested feature which can be used in place
of the nestedworkaround feature
Diffstat (limited to 'Lib/swig.swg')
-rw-r--r-- | Lib/swig.swg | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Lib/swig.swg b/Lib/swig.swg index a63169b3e..33e920c82 100644 --- a/Lib/swig.swg +++ b/Lib/swig.swg @@ -9,7 +9,7 @@ * User Directives * ----------------------------------------------------------------------------- */ -/* Deprecated SWIG directives */ +/* Deprecated SWIG-1.1 directives */ #define %disabledoc %warn "104:%disabledoc is deprecated" #define %enabledoc %warn "105:%enabledoc is deprecated" @@ -136,11 +136,16 @@ #define %nocallback %feature("callback","0") #define %clearcallback %feature("callback","") -/* the %nestedworkaround directive */ +/* the %nestedworkaround directive (deprecated) */ #define %nestedworkaround %feature("nestedworkaround") #define %nonestedworkaround %feature("nestedworkaround","0") #define %clearnestedworkaround %feature("nestedworkaround","") +/* the %flatnested directive */ +#define %flatnested %feature("flatnested") +#define %noflatnested %feature("flatnested","0") +#define %clearflatnested %feature("flatnested","") + /* the %fastdispatch directive */ #define %fastdispatch %feature("fastdispatch") #define %nofastdispatch %feature("fastdispatch","0") |