Commit graph

107 commits

Author SHA1 Message Date
Marcelo Matus
5a76bc68fc add castmode in python and cleaning the castdispatch mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
ba4df9e37d more perl + cast/rank mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:46:50 +00:00
Marcelo Matus
7edc2e0a91 implement the rank-cast dispatch mechanism, which is now the default behavior in perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:07:49 +00:00
Jason Stewart
8f66e0ced2 fixed unsigned long typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:14:59 +00:00
Jason Stewart
556e5e2a58 removed ENTER - it conflicts with code that needs XS access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:13:00 +00:00
Jason Stewart
326936e54d cleanup up comment spelling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:11:40 +00:00
Marcelo Matus
dc26b91c35 keep old typemap code in place, but disable, for readers to look around, and rescue other lost typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 23:46:37 +00:00
Marcelo Matus
ea47af15fe more on the TypeQuery fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 23:53:53 +00:00
Marcelo Matus
3ead254d42 fix extra calls to TypeQuery for 'char *' and 'wchar_t *'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 20:20:19 +00:00
Marcelo Matus
31466e0085 avoid extra call to SvUV
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 22:23:15 +00:00
Marcelo Matus
f31d6dde8a fix runtimes for subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:40:42 +00:00
Marcelo Matus
694f8fd93e return PL_sv_undef for empty strings, as in the old perl library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:39:44 +00:00
Marcelo Matus
c0f64e4d82 add SWIGUNUSEDPARM
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 08:42:41 +00:00
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
4267a26ecd fix for perl + multiple modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:10 +00:00
William S Fulton
e615dc1702 Fix for including Windows.h with Perl.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:25:16 +00:00
William S Fulton
5c8f751e80 Add code back in that has recently gone missing, needed for windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:19:05 +00:00
William S Fulton
1708ccaf0b comment added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:27:32 +00:00
Marcelo Matus
e22c0e2df4 add calloc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 13:10:17 +00:00
Marcelo Matus
9399418062 simplify the ASPTR_ARGS and ASVAL_ARGS macros to one AS_ARG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:57:16 +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
535b8e7520 add missing SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:40:51 +00:00
Marcelo Matus
16bd77e9d6 more perl cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:15:14 +00:00
Marcelo Matus
dfbac7b290 more fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 15:15:42 +00:00
Marcelo Matus
975f512878 fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:52:30 +00:00
Marcelo Matus
651046b927 more fixes for DISOWN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:49:09 +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
b202828cac implement DISOWN, please test it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 10:57:33 +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
William S Fulton
171dae1d34 %typecheck fixes for size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 22:23:55 +00:00
Kevin Ruland
b508dafbd5 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@7600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 01:18:29 +00:00
William S Fulton
a0cb4442d7 warning/error fixes for Visual Studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-28 20:58:41 +00:00
William S Fulton
f4d35f89f0 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@7374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:39:01 +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
c25d1c8e35 Uniform handling of SWIGEXPORT across SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:58 +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
3295fb32c2 Fix #1124490. Fix Perl macro clashes when using Visual Studio's STL string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:44:53 +00:00
William S Fulton
2287a2c8e4 SWIGTYPE out typemap fix - Perl should always take ownership of the memory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-09 22:31:55 +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
e7b400bc7d fix varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 04:34:43 +00:00
John Lenz
1e3c7f3704 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@6793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-29 23:13:57 +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
ebb79ea831 fix for null-reference 1038359
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:49:10 +00:00
Marcelo Matus
021695a2a1 add std_list (lluisp #1033399)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:32:26 +00:00
Marcelo Matus
580fd50690 add patch 962168 for Multiple Inheritance problem, seems to be working fine
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:17:20 +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