Commit graph

1,342 commits

Author SHA1 Message Date
Marcelo Matus
060c6e185f simplify output via macro SWIG_ArgError
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 17:37:13 +00:00
Marcelo Matus
6a53d0fbac split operation since they are macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 09:23:43 +00:00
Marcelo Matus
ff36d2d809 fix destroy issue reported by Mike Romberg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 00:03:21 +00:00
Marcelo Matus
2764016815 add back. comp. names, reported by paul@posft.de
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 21:53:06 +00:00
Surendra Singhi
25ef77d499 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@8731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 20:38:54 +00:00
Marcelo Matus
43e628c5a6 simpler warning for mem leak, due to problem reported by Mike Romberg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 18:38:22 +00:00
Marcelo Matus
6749a7cf89 add missings getattro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 16:47:47 +00:00
Kevin Ruland
d90cfcb917 Fix typemaps for void* and void**.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 14:02:44 +00:00
Marcelo Matus
94145533a5 more fixes for 1.5.2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 09:28:56 +00:00
Marcelo Matus
b1ac8b5775 fix %import problem reported by Eric Blossom
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 03:58:58 +00:00
Marcelo Matus
5a499c711f fix checking for noargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:11:40 +00:00
Marcelo Matus
b07a589fcb move %extend_smart_pointer to pyuserdir.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 03:07:28 +00:00
William S Fulton
a548a66d3f fix varout typemap pointer casts - removes heaps of warnings on cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 13:54:36 +00:00
Marcelo Matus
65728e968e add extended support for smart pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 09:48:40 +00:00
Marcelo Matus
fd8401c506 fix extra &
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 09:46:40 +00:00
Marcelo Matus
074fba0b98 add back def PySwigObject_GetDesc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 23:28:15 +00:00
Marcelo Matus
617346b91d fix seg. fault for void types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 22:09:54 +00:00
Marcelo Matus
0db9cfc821 remove unused var
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 23:48:56 +00:00
Marcelo Matus
31915bb0d5 fix bug #1420757
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 23:13:54 +00:00
Marcelo Matus
8f8673bd2c fix varout typemaps for swigtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:31:19 +00:00
Marcelo Matus
a06eb9c981 fix warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:29:59 +00:00
Marcelo Matus
d2648ed8fd fix for subversion 1.3.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:53:07 +00:00
Marcelo Matus
e05f7cfffc 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@8673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:00:37 +00:00
Mark Gossage
df022e7354 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@8672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 01:41:06 +00:00
Marcelo Matus
14a5d7f762 fix for solaris + no stlport4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 16:24:23 +00:00
Marcelo Matus
38d96c9ad8 fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:57:04 +00:00
Marcelo Matus
dbdcf4462c fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
872422e8eb add declaration for WCHAR_MIN and WCHAR_MAX if not founded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:14:43 +00:00
Marcelo Matus
f59680b810 fix warning in solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:12:18 +00:00
Kevin Ruland
e5e700b3c2 Added typechecks for string and const string&.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:38:48 +00:00
Kevin Ruland
07d8cddbde Fix memory leak in GetModule.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:38:14 +00:00
Marcelo Matus
26afeac0c7 fix Wall/pedantic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:18:50 +00:00
Matthias Köppe
6c4bc0378d (free_swig_member_function): Add missing return.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 02:45:48 +00:00
Marcelo Matus
36ab776a61 fix -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
9d88b67802 fix unapplied 'novaluewrapper' feature and add directive forms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 23:18:08 +00:00
William S Fulton
8b60b7fd87 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:33:47 +00:00
Marcelo Matus
8e91804233 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:33:06 +00:00
Marcelo Matus
5e77ca27e0 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:22:13 +00:00
William S Fulton
9e1e83635f 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@8640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 21:19:41 +00:00
William S Fulton
23b90b3d1c fix solaris workshop compiler noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 21:14:21 +00:00
Marcelo Matus
829cd3a908 reenable missing INPUT/OUTPUT, and add tests for std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:55:43 +00:00
Marcelo Matus
dc9641de4b 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@8635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:25:51 +00:00
Matthias Köppe
fcd200a7b4 Add some more std::string typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:01:35 +00:00
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