fix bad name, reported by Robin, and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
120184f1be
commit
8bbaa79ffe
1 changed files with 8 additions and 4 deletions
|
|
@ -55,14 +55,14 @@
|
||||||
#define %nodefault %feature("nodefault","1")
|
#define %nodefault %feature("nodefault","1")
|
||||||
#define %default %feature("nodefault","0")
|
#define %default %feature("nodefault","0")
|
||||||
#define %clearnodefault %feature("nodefault","")
|
#define %clearnodefault %feature("nodefault","")
|
||||||
#define %makedefault %cleardefault
|
#define %makedefault %clearnodefault
|
||||||
|
|
||||||
/* Disable the generation of implicit default constructor */
|
/* Disable the generation of implicit default constructor */
|
||||||
#define %nodefaultctor %feature("nodefaultctor","1")
|
#define %nodefaultctor %feature("nodefaultctor","1")
|
||||||
#define %defaultctor %feature("nodefaultctor","0")
|
#define %defaultctor %feature("nodefaultctor","0")
|
||||||
#define %clearnodefaultctor %feature("nodefaultctor","")
|
#define %clearnodefaultctor %feature("nodefaultctor","")
|
||||||
|
|
||||||
/* Disable the generation of implicit default destructor */
|
/* Disable the generation of implicit default destructor (dangerous) */
|
||||||
#define %nodefaultdtor %feature("nodefaultdtor","1")
|
#define %nodefaultdtor %feature("nodefaultdtor","1")
|
||||||
#define %defaultdtor %feature("nodefaultdtor","0")
|
#define %defaultdtor %feature("nodefaultdtor","0")
|
||||||
#define %clearnodefaultdtor %feature("nodefaultdtor","")
|
#define %clearnodefaultdtor %feature("nodefaultdtor","")
|
||||||
|
|
@ -221,6 +221,10 @@ static int NAME(TYPE x) {
|
||||||
|
|
||||||
- to rename only the global functions:
|
- to rename only the global functions:
|
||||||
|
|
||||||
|
%rename("m_%(utitle)s", %$isfunction, %$not %$ismember) "";
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
%rename("g_%(utitle)s", %$isfunction, %$isglobal) "";
|
%rename("g_%(utitle)s", %$isfunction, %$isglobal) "";
|
||||||
|
|
||||||
- to ignore the enumitems in a given class:
|
- to ignore the enumitems in a given class:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue