Commit graph

627 commits

Author SHA1 Message Date
William S Fulton
310e2f9db3 wstring directorin typemap fixes from Russell Keith-Magee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:58:36 +00:00
William S Fulton
11f3ce49ae Typemaps for std::string member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:53 +00:00
William S Fulton
e29eede0af $dllimport special variable to specify the DllImport attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:10 +00:00
Marcelo Matus
72b2faf604 no more zero value accepted for pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:11:25 +00:00
Marcelo Matus
5a5fe511bf fix ref+int overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:04:51 +00:00
Art Yerkes
7a9d46108d Removed unneeded define.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 08:48:05 +00:00
Marcelo Matus
d809efcb2f delete unused line
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 06:30:40 +00:00
William S Fulton
09ed1c1471 Scott Michel patch #1049496 to fix typesafe and proper Java enums with directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:12:36 +00:00
Marcelo Matus
c600268775 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 22:36:52 +00:00
John Lenz
0c57969c61 - Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
the format of swig_type_info ever changes, this number should be incremented
- Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python
- Convert inline into SWIGINLINE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
Marcelo Matus
9bc6545ff0 fix default varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:15:14 +00:00
Marcelo Matus
39e2f975cc Add flag to enabla new C++ casting operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:37:39 +00:00
William S Fulton
cd22d76972 fixes for directors and default arguments in the constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
Marcelo Matus
d27df888dc CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:49 +00:00
William S Fulton
85b1bcfc47 removed redundant valuewrapper feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
Marcelo Matus
49fe98ee46 immutable feature not needed anymore. private assign is recognized by swig now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:42:20 +00:00
Marcelo Matus
c7982bbdc8 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
Marcelo Matus
9d9580639a add %typemap(varin) SWIGTYPE[], fix some typemaps to be safe for %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:38:44 +00:00
Marcelo Matus
5a4369fd11 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/SWIG@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:35:16 +00:00
Marcelo Matus
09608bc2c5 more docs/split and cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:31:24 +00:00
Marcelo Matus
53f6f300a0 better size_t/ptrdiff_t mapping
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:28:16 +00:00
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
Marcelo Matus
ef4d07bab0 fixes for noconst types and size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:20:00 +00:00
Marcelo Matus
d25d71bc0f split std_basic_string/std_string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:18:57 +00:00
Marcelo Matus
3ac9536a83 fix long long + apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 11:36:03 +00:00
Marcelo Matus
38e568e602 fix lon long + apply + SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 09:49:24 +00:00
Marcelo Matus
3eed27bc54 fix in typemap for std_string + value wrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 09:17:10 +00:00
Art Yerkes
e9160c8597 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/SWIG@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:38:54 +00:00
Art Yerkes
db57b0d6d8 Some delayed maintenance.
Fixes for multimodule targets.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +00:00
John Lenz
2836e9599d Rework the CLOS code for chicken... still needs a little more work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +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
John Lenz
143bfb2a62 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
Marcelo Matus
331ace4bf8 fix comment to work with old C compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:34:51 +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
John Lenz
6ed2f7e90e 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/SWIG@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +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
776f15623e several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
ff38a4e4ef 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/SWIG@6304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:08:25 +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