Commit graph

184 commits

Author SHA1 Message Date
Marcelo Matus
1fc46dfc1f moving more enum typemaps here
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:27:06 +00:00
Marcelo Matus
c0dc57464a prevent to overide the pointer value when an error occurred
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:25:31 +00:00
John Lenz
75e462baa8 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
409e17e94a add guards for swig/language extra methods and comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 17:58:14 +00:00
Marcelo Matus
dc4409a1f1 isolate language independent STD/STL/C++ code + more documentation + cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 06:42:15 +00:00
Marcelo Matus
61193266ae since bad preprocessors around, we are going back to plain Types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 16:09:06 +00:00
Marcelo Matus
092a7d9f09 add cast to work with SwigValueWrapper and write the out enum types appart, as needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:11:09 +00:00
Marcelo Matus
7346e7eaf2 fix version check for python 2.3.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 23:00:57 +00:00
Marcelo Matus
d84772ce6f fix #if __cplusplus problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
Marcelo Matus
66a8f6d05c fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:28:38 +00:00
Marcelo Matus
9303e3af22 add patch 903150
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:35:28 +00:00
Marcelo Matus
c6f20f2306 fix vector slice/del problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:31:31 +00:00
Marcelo Matus
a0dd20b4b7 make type methods template safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:29:18 +00:00
Marcelo Matus
0b3f8bf2ce LookupTypePointer now as pyrun
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:20:34 +00:00
Marcelo Matus
78293bbeee fix bug report 1039688
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:43:34 +00:00
Marcelo Matus
ff794345fe added the highly expected Robin's docstring [atch, plus some fixes and extensions. see autodoc.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:11:07 +00:00
Marcelo Matus
124253d698 added the highly expected Robin's docstring [atch, plus some fixes and extensions. see autodoc.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:01:17 +00:00
Marcelo Matus
e46c80edf8 replacing SWIGSTATIC(a) by SWIGINTERN a
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 20:15:46 +00:00
Marcelo Matus
2c962d36f2 isolating the pure 'runtime' code in pyrun.swg, the API declarations are now in pyapi.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 18:44:48 +00:00
Marcelo Matus
983d4abe42 add John Lenz patch for avoiding the runtime library, but allowing the old approach to coexist
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 17:54:38 +00:00
Marcelo Matus
a4a7a2ff1f better error messages, more comments, clean up for the next major modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:43:17 +00:00
Marcelo Matus
31d82778b4 in/out fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:42:01 +00:00
Marcelo Matus
27377fb937 added more elements from std
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:39:15 +00:00
Marcelo Matus
a7c7a06c22 force all the std::exceptions to be exceptionclasses
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 01:01:18 +00:00
Marcelo Matus
3d5d0f535a cleaning + comments, and add the nondynamic feature handlers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 01:00:28 +00:00
Marcelo Matus
f9db4dd648 fix anoher warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 22:08:48 +00:00
Marcelo Matus
349e6bc6ee using <> when including lib files, fix char{ANY], add char FIXSIZE[ANY], fix pyfragments.swg, fixing *.swg and *.i names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 06:17:35 +00:00
Marcelo Matus
9f6ffb2feb cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:35:23 +00:00
Marcelo Matus
fc6ac9a6ea change typemap(ignore) to typemap(in,numinputs=0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:33:18 +00:00
Marcelo Matus
f962f10e05 change typemap(ignore) to typemap(in,numinputs=0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:31:39 +00:00
Marcelo Matus
c16ee0373b move tuple helper to its own file, and allow the user to redefine fragments through the fragments.i file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:26:23 +00:00
Marcelo Matus
0017b084aa add std_except.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:23:05 +00:00
Marcelo Matus
ebd1419512 fix warning and possible error for 64bits
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 08:42:37 +00:00
Marcelo Matus
bc715fc9a0 fix warnings for intel compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 08:07:45 +00:00
Marcelo Matus
fa723151fb more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:12:02 +00:00
Marcelo Matus
96a3b57b97 more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:09:44 +00:00
Marcelo Matus
9b7c4b973e fix for solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 00:02:06 +00:00
Marcelo Matus
7a5fdd5784 fix Solaris/assign problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-31 20:33:39 +00:00
Marcelo Matus
1c899f9c96 fix solaris warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-31 20:15:54 +00:00
William S Fulton
7f1a06e20d Removed redundant #include of Python.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:17:18 +00:00
Lyle Johnson
9a6eb5a6b8 Fixed a little typo in the comments (was "Outnput", changed to "Output").
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:31:10 +00:00
Marcelo Matus
ed69164312 More fixes for arrays and variables, mostly cosmetic ones.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-18 22:57:05 +00:00
Marcelo Matus
7c2c1a766c fix char[] varout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 23:10:22 +00:00
Marcelo Matus
b2ede29b59 some performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Marcelo Matus
dfc928fde7 more fixes for exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:34:09 +00:00
Marcelo Matus
6caba9c765 more fixes for exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:19:01 +00:00
Marcelo Matus
f5fb952e36 change char[] and char[ANY] to behave more like char* as default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 20:40:32 +00:00
Marcelo Matus
9c6a029e75 fix anon enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:10:02 +00:00
Marcelo Matus
12af360d6f fixes for char[], const char[], and cleaning wchar_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:25:31 +00:00
Luigi Ballabio
d062b8cce8 Python typemap for FILE* (in behalf of Marcelo)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-26 12:44:38 +00:00