Commit graph

1,310 commits

Author SHA1 Message Date
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
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