Commit graph

610 commits

Author SHA1 Message Date
Marcelo Matus
aa85fa1a1e add %typemap(varin) SWIGTYPE[], fix some typemaps to be safe for %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:38:44 +00:00
Marcelo Matus
4855fb73ae avoid to use SwigValueWrapper with std::string, just to keep the code cleaner and familiar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:35:16 +00:00
Marcelo Matus
19ab048261 more docs/split and cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:31:24 +00:00
Marcelo Matus
70cbbd9055 better size_t/ptrdiff_t mapping
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:28:16 +00:00
Marcelo Matus
b4aeb47d3c moving more enum typemaps here
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:27:06 +00:00
Marcelo Matus
7a90a47284 prevent to overide the pointer value when an error occurred
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:25:31 +00:00
Marcelo Matus
c2f549b73b fixes for noconst types and size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:20:00 +00:00
Marcelo Matus
334b0374d3 split std_basic_string/std_string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:18:57 +00:00
Marcelo Matus
fe6577b729 fix long long + apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 11:36:03 +00:00
Marcelo Matus
c253b98f51 fix lon long + apply + SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 09:49:24 +00:00
Marcelo Matus
c53cd73333 fix in typemap for std_string + value wrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 09:17:10 +00:00
Art Yerkes
01f438f143 Updated documentation.
Provide a swig_val function which generates a shareable value from a module
specific one in a painless way.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:38:54 +00:00
Art Yerkes
a8add424e4 Some delayed maintenance.
Fixes for multimodule targets.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +00:00
John Lenz
4fc9128a6c Rework the CLOS code for chicken... still needs a little more work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +00:00
John Lenz
4645346381 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@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
024efdb6f6 add guards for swig/language extra methods and comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 17:58:14 +00:00
Marcelo Matus
a300b82163 isolate language independent STD/STL/C++ code + more documentation + cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 06:42:15 +00:00
Marcelo Matus
d3e460c673 since bad preprocessors around, we are going back to plain Types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 16:09:06 +00:00
Marcelo Matus
cee113efe7 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@6375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:11:09 +00:00
Marcelo Matus
a433214393 fix version check for python 2.3.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 23:00:57 +00:00
John Lenz
0e57357472 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
Marcelo Matus
f373aadabc fix comment to work with old C compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:34:51 +00:00
Marcelo Matus
c1ed709013 fix #if __cplusplus problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
Marcelo Matus
3aba853aa0 fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:28:38 +00:00
Marcelo Matus
a105903188 add patch 903150
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:35:28 +00:00
Marcelo Matus
5fc322f0b6 fix vector slice/del problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:31:31 +00:00
Marcelo Matus
4d599f988e make type methods template safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:29:18 +00:00
Marcelo Matus
e4e9a5e61b LookupTypePointer now as pyrun
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:20:34 +00:00
John Lenz
9dead7a11d New way of sharing type information between modules for chicken, mzscheme,
ruby, tcl, and perl.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
Marcelo Matus
d9ffb83b6c fix bug report 1039688
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:43:34 +00:00
Marcelo Matus
2792ac8752 several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
1535e5506e mods to use "default" typemap instead of default arguments for new default argument wrapping approach
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:08:25 +00:00
Marcelo Matus
3b006a74c0 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@6293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:11:07 +00:00
Marcelo Matus
415420c4c4 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@6291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:01:17 +00:00
Marcelo Matus
b501fb8521 replacing SWIGSTATIC(a) by SWIGINTERN a
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 20:15:46 +00:00
Marcelo Matus
5edce7c150 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@6289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 18:44:48 +00:00
Marcelo Matus
afed1d4126 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@6288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 17:54:38 +00:00
Marcelo Matus
3ae15c245c better error messages, more comments, clean up for the next major modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:43:17 +00:00
Marcelo Matus
ff5136e3a4 in/out fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:42:01 +00:00
Marcelo Matus
d3534ecc5a added more elements from std
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:39:15 +00:00
Marcelo Matus
0ea35a31c0 fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 01:03:19 +00:00
Marcelo Matus
22e70dac7b force all the std::exceptions to be exceptionclasses
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 01:01:18 +00:00
Marcelo Matus
d7b22b7d90 cleaning + comments, and add the nondynamic feature handlers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 01:00:28 +00:00
William S Fulton
64ecb886fa Added and empty freearg typemap so that the signed char* typemaps can be aplied to char*.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-22 20:30:06 +00:00
Marcelo Matus
bba676cae0 fix anoher warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 22:08:48 +00:00
Marcelo Matus
b9bfda7868 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@6250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 06:17:35 +00:00
William S Fulton
f0f063f7ae SWIGEXPORT macro simplification, Borland can use the normal Windows convention __declspec(dllexport)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-14 20:08:24 +00:00
Marcelo Matus
ffb44dc7a0 cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:35:23 +00:00
Marcelo Matus
735f6804cd change typemap(ignore) to typemap(in,numinputs=0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:33:18 +00:00
Marcelo Matus
6e36f5d07f change typemap(ignore) to typemap(in,numinputs=0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:31:39 +00:00