Commit graph

94 commits

Author SHA1 Message Date
William S Fulton
cfdad24993 Use the system angle brackets for %include
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:28:20 +00:00
Marcelo Matus
cb4a1ff465 more speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:46 +00:00
Marcelo Matus
c12e955b0e fix for perl + multiple modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:10 +00:00
William S Fulton
239e58e462 Fix for including Windows.h with Perl.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:25:16 +00:00
William S Fulton
85edd7cab8 Add code back in that has recently gone missing, needed for windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:19:05 +00:00
William S Fulton
2500fe2a53 comment added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:27:32 +00:00
Marcelo Matus
53aca58eb3 add calloc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 13:10:17 +00:00
Marcelo Matus
23c9555292 simplify the ASPTR_ARGS and ASVAL_ARGS macros to one AS_ARG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:57:16 +00:00
Marcelo Matus
71df9fc8b6 add std_except typemaps to the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:02 +00:00
Marcelo Matus
f8c9bee335 add missing SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:40:51 +00:00
Marcelo Matus
2f1217145a more perl cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:15:14 +00:00
Marcelo Matus
ead70adb56 more fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 15:15:42 +00:00
Marcelo Matus
07df4a57db fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:52:30 +00:00
Marcelo Matus
a7091f135b more fixes for DISOWN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:49:09 +00:00
Marcelo Matus
8be1b7a07c 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/SWIG@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00
Marcelo Matus
e8535abc5b implement DISOWN, please test it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 10:57:33 +00:00
Marcelo Matus
e7eeff806a 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/SWIG@7710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:31:15 +00:00
Marcelo Matus
3c65cea431 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/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
William S Fulton
e7e06c38f4 %typecheck fixes for size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 22:23:55 +00:00
Kevin Ruland
3959f9cfda Fixes to support %constant strings defined by other variables or preprocessor
defines such as:
#define STR "a constant string"
%constant char *ConstantValue = STR;


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 01:18:29 +00:00
William S Fulton
219517adc0 warning/error fixes for Visual Studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-28 20:58:41 +00:00
William S Fulton
e48dd69b4d remove define for bool - needed for visual studio compilers when stl headers are used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:39:01 +00:00
William S Fulton
03a67698a9 use exception specification instead of %exception to handle STL error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
William S Fulton
815355b964 Uniform handling of SWIGEXPORT across SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:58 +00:00
William S Fulton
4c4e3f47ad added missing constructors for std::pair
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00
William S Fulton
39f21be78e Fix #1124490. Fix Perl macro clashes when using Visual Studio's STL string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:44:53 +00:00
William S Fulton
772eff2af3 SWIGTYPE out typemap fix - Perl should always take ownership of the memory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-09 22:31:55 +00:00
John Lenz
c3338b1a16 - 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/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
b316e6445a fix varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 04:34:43 +00:00
John Lenz
6f2e0a5ec1 perl module now supports runtime.swg
+ split up Perl_LookupTypePointer into two functions like python module
  + added a perlinit.swg file with the code from the bottom of perl5.swg


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-29 23:13:57 +00:00
William S Fulton
b8d5ea651d const enum SWIGTYPE & typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:16:24 +00:00
Marcelo Matus
c573cfe3a8 minor 'const' consistence fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:30:55 +00:00
Marcelo Matus
811c159e38 allow to include the swig runtime code into external user libraries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:37:33 +00:00
Marcelo Matus
dade472fb2 fix for null-reference 1038359
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:49:10 +00:00
Marcelo Matus
994e796c87 add std_list (lluisp #1033399)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:32:26 +00:00
Marcelo Matus
43ff4e34d1 add patch 962168 for Multiple Inheritance problem, seems to be working fine
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:17:20 +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
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
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
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
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
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
William S Fulton
88d782332a added %perlcode directive, patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:16:19 +00:00
William S Fulton
ea94a4a0bd Patch from Ikegami Tsutomu to fix long long *OUTPUT and unsigned long long *OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:15:41 +00:00
William S Fulton
3a0d6f1a7e varin enum SWIGTYPE mods to handle unnamed enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 21:32:27 +00:00
William S Fulton
a5c694a978 missing throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:44:54 +00:00
Luigi Ballabio
13374b6a80 Fix in Perl out-typemap for std::vector (thanks to Josh Cherry)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-11 07:37:41 +00:00