Reducing pyrun.swg and splitting python.swg into different files
for clarity and for easier maintainance. pyrun.swg almost the same than 1.3.20, therefore there will be compatible again. code generated is reduced by the use and reuse of %fragments. as usual, all the test-suite is compiling and a much bigger "test project" too. with the new typemaps definition should be much eaiser and uniform add stl/std and user types. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7fef280ae0
commit
68024b15ce
17 changed files with 1465 additions and 1250 deletions
|
|
@ -1,9 +1,11 @@
|
|||
#ifndef __python_pythonkw_swg__
|
||||
#define __python_pythonkw_swg__
|
||||
/*
|
||||
Warnings for Python keywords, built-in names and bad names.
|
||||
*/
|
||||
|
||||
#define PYTHONKW(x) %namewarn("314:" #x " is a python keyword") #x
|
||||
#define PYTHONBN(x) %namewarn("321:" #x " conflicts with a built-in name in python") "::"#x
|
||||
|
||||
|
||||
/*
|
||||
Warnings for Python keywords
|
||||
http://www.fnorb.org/docs/1.2/Fnorb-Guide/node62.html
|
||||
|
|
@ -113,5 +115,3 @@ PYTHONBN(self);
|
|||
|
||||
#undef PYTHONBN
|
||||
#undef PYTHONKW
|
||||
|
||||
#endif //__python_pythonkw_swg__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue