William S Fulton
e013e7ff5a
Use the system angle brackets for %include
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:28:20 +00:00
Marcelo Matus
0e34b75e44
more speed ups
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:46 +00:00
Marcelo Matus
fbdc4d8e3c
fixes for directors + pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 21:01:35 +00:00
Marcelo Matus
9ff4da9d4a
add std_except typemaps to the unified typemap library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:02 +00:00
Marcelo Matus
1d6f737ab1
prevents ConvertPtr to modified the result when fails
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:41:43 +00:00
Marcelo Matus
1c529aa802
move attribute.i to the typemap library, now is usable from all the languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00
Marcelo Matus
029ff00d77
eliminate compilation warnings, add docs, and centralize the access to the unified typemap library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:31:15 +00:00
Marcelo Matus
f2f1b9889f
Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
cacea2c73d
include the user's fragment file in the same place
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:58:19 +00:00
Marcelo Matus
bd7b3fcb1d
finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
Marcelo Matus
8bcc0bf8eb
fix warnings/errors for gcc4.0, icc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
3aac30b168
more typemaps unification and fixes for valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 10:52:50 +00:00
Marcelo Matus
ae6714aff3
cosmetic change, remove repeated docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:54:54 +00:00
Marcelo Matus
1c7c9e44f7
massive typemap unification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
William S Fulton
01da157969
const enum SWIGTYPE& fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 13:51:59 +00:00
Charlie Savage
a17e510b41
Fixed handling of char. This was needed due to changes in handling of %constants in ruby.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 19:51:51 +00:00
Charlie Savage
72c48ff661
Fixed handling of constants. Previously if a %constant directive was defined before a #define it would not work correctly.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-03 19:47:06 +00:00
William S Fulton
1d4711c429
Visual Studio warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-27 20:16:09 +00:00
Charlie Savage
2f774be1b9
Added a typemap %typemap(in) (int LENGTH, char *STRING) that is simply the reverse of %typemap(in) (char *STRING, int LENGTH).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-26 06:06:44 +00:00
William S Fulton
8d598c61fc
Best attempt at missing directorin typemaps to fix director_wombat.i testcase. Could do with checking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 22:56:30 +00:00
Charlie Savage
71726a217a
Object tracking support. Defined two new pointer conversion flags used by SWIG_ConvertPtr and SWIG_NewPointerObj. The new flags are:
...
#define SWIG_POINTER_OWN 0x1
#define SWIG_TRACK_OBJECTS 0x4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:04:06 +00:00
Charlie Savage
0316580de7
Support object tracking. Updated SWIG_NewPointerObj and SWIG_Ruby_ConvertPtr to take into account object tracking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:03:05 +00:00
Charlie Savage
5de04ac495
Support for object tracking. Includes new reference to "rubytracking.swg" and defines a new feature called "trackobjects"
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:01:57 +00:00
Charlie Savage
96e21427ba
New include file that implements an API for tracking objects.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 17:49:31 +00:00
William S Fulton
bdb8e46f4d
patch 1272995 from Charlie Savage - more disown support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 22:12:56 +00:00
William S Fulton
43015f7aca
Implement support for SWIGTYPE* DISOWN typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:16:34 +00:00
William S Fulton
49639577e0
use exception specification instead of %exception to handle STL error checking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
William S Fulton
6f21f0d74a
added missing constructors for std::pair
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00
William S Fulton
a7813a1bf5
Consistent warning 470 across all languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:30:08 +00:00
Marcelo Matus
9150a78f9f
fix for SF#1096981, bad long castings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 23:16:30 +00:00
John Lenz
f6964f285f
- Improve the runtime type sytesm
...
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
176d86f1d0
better warning message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 00:58:24 +00:00
Marcelo Matus
cca7ef61ea
fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
2fdbd8679f
fix enum + ref + directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:18:56 +00:00
William S Fulton
9402fa3b00
const enum SWIGTYPE & typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:16:24 +00:00
Marcelo Matus
46caa599e9
minor 'const' consistence fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:30:55 +00:00
Marcelo Matus
0baa17ec05
allow to include the swig runtime code into external user libraries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:37:33 +00:00
Marcelo Matus
464c01da12
fix def args + director + constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
William S Fulton
6f71cc78dc
size_t fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:12:01 +00:00
Marcelo Matus
098ad12612
add directorin/directorout for prim. types + ref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:40:34 +00:00
Marcelo Matus
0b499cf3af
fix varout for SWIGTYPE, bug #1037259
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:11:32 +00:00
Marcelo Matus
08d78e941d
fix directors + std::string, reported in 1024595
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:03:13 +00:00
Marcelo Matus
a34970d9fc
add patch 1025861 for director + exceptions, fix director + enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 10:58:16 +00:00
Luigi Ballabio
02132c13a8
Raising check made tolerant during typecheck
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 14:03:56 +00:00
John Lenz
b83fe6bd77
- 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@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
William S Fulton
79bec67051
fixes for directors and default arguments in the constructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
William S Fulton
31d1012b0a
removed redundant valuewrapper feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
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
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