Commit graph

1,342 commits

Author SHA1 Message Date
Marcelo Matus
863369cc41 simplify output via macro SWIG_ArgError
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 17:37:13 +00:00
Marcelo Matus
b49ba78a1d split operation since they are macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 09:23:43 +00:00
Marcelo Matus
45487003b2 fix destroy issue reported by Mike Romberg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 00:03:21 +00:00
Marcelo Matus
b492220f41 add back. comp. names, reported by paul@posft.de
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 21:53:06 +00:00
Surendra Singhi
70c1bd07a4 Fixes the placement of swig-lisp code, and also makes sure that
literals are properly converted for enums.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 20:38:54 +00:00
Marcelo Matus
24404e25aa simpler warning for mem leak, due to problem reported by Mike Romberg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 18:38:22 +00:00
Marcelo Matus
9db5576a18 add missings getattro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 16:47:47 +00:00
Kevin Ruland
3ff3be2a2d Fix typemaps for void* and void**.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 14:02:44 +00:00
Marcelo Matus
27a8f8aa97 more fixes for 1.5.2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 09:28:56 +00:00
Marcelo Matus
1e2e004b4a fix %import problem reported by Eric Blossom
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 03:58:58 +00:00
Marcelo Matus
7c48986420 fix checking for noargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:11:40 +00:00
Marcelo Matus
750c9c1efb move %extend_smart_pointer to pyuserdir.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 03:07:28 +00:00
William S Fulton
a52b26adc5 fix varout typemap pointer casts - removes heaps of warnings on cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 13:54:36 +00:00
Marcelo Matus
336844d502 add extended support for smart pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 09:48:40 +00:00
Marcelo Matus
4f4e31460f fix extra &
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 09:46:40 +00:00
Marcelo Matus
b56b1b4a64 add back def PySwigObject_GetDesc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 23:28:15 +00:00
Marcelo Matus
36b96882c5 fix seg. fault for void types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:09:54 +00:00
Marcelo Matus
97ab6a3e8f remove unused var
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 23:48:56 +00:00
Marcelo Matus
3b89804a9b fix bug #1420757
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 23:13:54 +00:00
Marcelo Matus
2396ded0f4 fix varout typemaps for swigtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:31:19 +00:00
Marcelo Matus
b4ade94169 fix warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:29:59 +00:00
Marcelo Matus
8484165901 fix for subversion 1.3.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:53:07 +00:00
Marcelo Matus
d311988106 add extranative option to keep old copy mode for std containers as the default behavior
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:00:37 +00:00
Mark Gossage
8328eb6e34 bugfix #1356577, changed double=>lua_number in a few places.
added the std::pair wrapping


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 01:41:06 +00:00
Marcelo Matus
45a045b9f1 fix for solaris + no stlport4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 16:24:23 +00:00
Marcelo Matus
f1933ae813 fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:57:04 +00:00
Marcelo Matus
0f7b502a3b fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
4eb6a0a727 add declaration for WCHAR_MIN and WCHAR_MAX if not founded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:14:43 +00:00
Marcelo Matus
a27b945155 fix warning in solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:12:18 +00:00
Kevin Ruland
4cc9151232 Added typechecks for string and const string&.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:38:48 +00:00
Kevin Ruland
138c3bc76e Fix memory leak in GetModule.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:38:14 +00:00
Marcelo Matus
15fff92a74 fix Wall/pedantic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:18:50 +00:00
Matthias Köppe
06dc2432b7 (free_swig_member_function): Add missing return.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 02:45:48 +00:00
Marcelo Matus
0d6baa85ef fix -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
486d21f75e fix unapplied 'novaluewrapper' feature and add directive forms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 23:18:08 +00:00
William S Fulton
636e593cb1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:33:47 +00:00
Marcelo Matus
0926a5da0f add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:33:06 +00:00
Marcelo Matus
ba1e3f9ee3 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:22:13 +00:00
William S Fulton
7b343a9883 Add missing fragment. Surely this kind of bug should be found when SWIG compiles? That is surely SWIG should generate error out if it can't find a fragment it has been asked to use?
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 21:19:41 +00:00
William S Fulton
0145c1f10e fix solaris workshop compiler noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 21:14:21 +00:00
Marcelo Matus
19ce5762f0 reenable missing INPUT/OUTPUT, and add tests for std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:55:43 +00:00
Marcelo Matus
f959dde9bd add %naturalvar to std::string and remove local li_std_string.i, so Mattias can finish the examples here :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:25:51 +00:00
Matthias Köppe
dadce146a2 Add some more std::string typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:01:35 +00:00
William S Fulton
7d07987098 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/SWIG@8626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:32:07 +00:00
William S Fulton
fdd16d7234 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/SWIG@8623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 21:21:47 +00:00
Matthias Köppe
6ba7c1600b Define and use %argument_fail, %as_voidptr.
Use SWIG_IsOK, SWIG_CheckState.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 20:36:57 +00:00
Matthias Köppe
985a5928d4 (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/SWIG@8621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 20:35:52 +00:00
William S Fulton
568141faf7 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/SWIG@8618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:50:53 +00:00
Matthias Köppe
edba3add6b Add support for member function pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:47:18 +00:00
William S Fulton
4c5d4a9d29 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/SWIG@8613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 15:53:41 +00:00