William S Fulton
fd212896fd
std::wstring global and member variables are wrapped as strings by default
...
No need to use the %apply const std::wstring& { std::wstring* } trick anymore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:32:07 +00:00
William S Fulton
581b79652d
std::string global and member variables are wrapped as strings by default
...
No need to use the %apply const std::string& { std::string* } trick anymore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 21:21:47 +00:00
Matthias Köppe
0870d0a710
Define and use %argument_fail, %as_voidptr.
...
Use SWIG_IsOK, SWIG_CheckState.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 20:36:57 +00:00
Matthias Köppe
66bc80a516
(SWIG_Guile_ConvertPtr): Use constants SWIG_OK, SWIG_ERROR.
...
(SWIG_Guile_MustGetPtr): Use SWIG_IsOK macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 20:35:52 +00:00
William S Fulton
4fbc294bb7
std::string global and member variables are wrapped as strings by default
...
No need to use the %apply const std::string& { std::string* } trick anymore
Please test if possible, I can't run these languages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:50:53 +00:00
Matthias Köppe
4a026652c5
Add support for member function pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:47:18 +00:00
William S Fulton
5f97905ab7
std::string global and member variables are wrapped as strings by default
...
No need to use the %apply const std::string& { std::string* } trick anymore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:53:41 +00:00
Marcelo Matus
a4b8f2cb27
fix/apply naturalvar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:29:20 +00:00
William S Fulton
0a64cc1e41
Finally std::string global and member variables are wrapped as strings by default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:42:25 +00:00
Marcelo Matus
baefdc2e89
backward compatible definition of SWIG_excetion, we now just try to use the safer SWIG_exception_fail when needed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:37:03 +00:00
Marcelo Matus
d2407fc6de
add the SWIGUTL macro to identify a language using the Unified Typemap Library, and using it around
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:35:22 +00:00
Surendra Singhi
76ca56641e
Frank Buss's fix for anon enums.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 14:07:54 +00:00
Marcelo Matus
183ca0b945
add more backward comp macros/fragments/methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 08:59:32 +00:00
Marcelo Matus
f8bc27f476
add more backward comp macros/fragments/methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 08:48:48 +00:00
Marcelo Matus
1978d6e7e5
fix exception, use SWIG_fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:03:48 +00:00
Marcelo Matus
b8bf059066
set PyObject * out typemaps back to simple returns
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:05 +00:00
Marcelo Matus
5a42618968
add support for 'old' tuple output
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:26:11 +00:00
Marcelo Matus
c716bf093e
remove 'hello'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:24:48 +00:00
Marcelo Matus
427696bc65
implement the 'allowexcept' feature for global variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:11:47 +00:00
Marcelo Matus
809584928c
add and extend missing/deleted docs for the pythonappend/pythonpreppend features and the new directive forms %pythonappend/%pythonpreppend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 18:47:15 +00:00
Marcelo Matus
f76880fc20
add the 'str' method to cvar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 16:28:43 +00:00
William S Fulton
55681e10b7
swigwarn.swg is now autogenerated and so shouldn't be checked in
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 22:44:08 +00:00
Marcelo Matus
ff5897d725
fix escape sequence reported by Vladimir Menshakov
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 19:41:37 +00:00
Marcelo Matus
8b2eddb8a6
fix error reported by William K. Foster about bad strings generating seg faults
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:32:37 +00:00
William S Fulton
a27f850313
Fix for VC++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:43 +00:00
William S Fulton
9fd354cf16
No need to handle vc++ differently for stdint.h.
...
It basically doesn't come with it, so these typemaps can never expect to work, but a later version will hopefully ship this header and there are versions available on the internet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:51:19 +00:00
Marcelo Matus
810769f0fb
fix bad name, reported by Robin, and cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 17:51:53 +00:00
Mark Gossage
e0c0819f9d
fixed mistake reported by William, caused by updating the lua.cxx
...
but not the lua.swg file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 04:47:46 +00:00
William S Fulton
0982b12ccd
Fix for typedef to void *
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:47:16 +00:00
Marcelo Matus
96cab4a488
fix errors for 32bit arch.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 00:33:19 +00:00
Marcelo Matus
5bbeb3847a
better solution for warning of perl+cygwin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 21:04:57 +00:00
Marcelo Matus
bd11299e1e
fix cygwin warning for perl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 20:24:04 +00:00
Marcelo Matus
6f263ce7cf
fix missing endif
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 17:58:13 +00:00
Marcelo Matus
c5492251bd
more fixes to MSC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:00:32 +00:00
Marcelo Matus
7ff4c76793
add snprintf def for MSC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 06:55:26 +00:00
Marcelo Matus
2da6687dcc
more on MSC and snprintf/strtoll/strtoull
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 04:48:11 +00:00
Marcelo Matus
ada8352ce5
fixes for VC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:48:55 +00:00
Marcelo Matus
dff4587f5b
solve MSC include problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:02:38 +00:00
Marcelo Matus
851330d594
solve unused var warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:02:20 +00:00
Marcelo Matus
d56b75b1ac
silence warnings with -O1 -Wall
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 01:03:37 +00:00
Marcelo Matus
c8e5a99ecb
avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 18:59:06 +00:00
Marcelo Matus
c42b44bf58
fix runtime error reported by Robin Dunn, which also fix PyICU, and add debug mechanism for the Runtime System
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 07:58:01 +00:00
Marcelo Matus
a551f26811
remove noblock=1 in the varin typemaps since Tcl could add some code before the variable declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 00:59:29 +00:00
Marcelo Matus
b538d5e5f0
add 'newfree' typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 07:55:48 +00:00
Marcelo Matus
8a7288e5ef
fix possible C errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:54:51 +00:00
Marcelo Matus
64b47b7edb
fix tcl C errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:32 +00:00
Marcelo Matus
6cb4870883
fix perl C errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:15 +00:00
John Lenz
6d5b48fe6e
Fix a compile error when using void * in the test suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 03:16:01 +00:00
Marcelo Matus
4c1614424d
add macro for backward comp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 21:43:55 +00:00
Charlie Savage
e5a3bdad7d
Changed rename rules to include functions and change Enums to only capitalize the first letter.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 04:54:48 +00:00