Commit graph

1,307 commits

Author SHA1 Message Date
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
Marcelo Matus
e7191fece9 fix/apply naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:29:20 +00:00
William S Fulton
3d03012639 Finally std::string global and member variables are wrapped as strings by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:42:25 +00:00
Marcelo Matus
549abbb959 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/SWIG@8595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:37:03 +00:00
Marcelo Matus
1122c39ec4 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/SWIG@8594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:35:22 +00:00
Surendra Singhi
dafc4dbdfc Frank Buss's fix for anon enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 14:07:54 +00:00
Marcelo Matus
f39d358984 add more backward comp macros/fragments/methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 08:59:32 +00:00
Marcelo Matus
3de733ebc4 add more backward comp macros/fragments/methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 08:48:48 +00:00
Marcelo Matus
7dc39f200c fix exception, use SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:03:48 +00:00
Marcelo Matus
32d28239da set PyObject * out typemaps back to simple returns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:05 +00:00
Marcelo Matus
fa726d34ad add support for 'old' tuple output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:26:11 +00:00
Marcelo Matus
20cdc2a18c remove 'hello'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:24:48 +00:00
Marcelo Matus
933ac56a20 implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:11:47 +00:00
Marcelo Matus
146958ad78 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/SWIG@8573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 18:47:15 +00:00
Marcelo Matus
51f7ea18f6 add the 'str' method to cvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 16:28:43 +00:00
William S Fulton
69cefbe92d swigwarn.swg is now autogenerated and so shouldn't be checked in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 22:44:08 +00:00
Marcelo Matus
ee17bdca78 fix escape sequence reported by Vladimir Menshakov
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 19:41:37 +00:00
Marcelo Matus
740ca6c1da fix error reported by William K. Foster about bad strings generating seg faults
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:32:37 +00:00
William S Fulton
99c337b3e4 Fix for VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:43 +00:00
William S Fulton
db2955f308 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/SWIG@8546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:51:19 +00:00
Marcelo Matus
8bbaa79ffe fix bad name, reported by Robin, and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 17:51:53 +00:00
Mark Gossage
c413035b7c 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/SWIG@8534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 04:47:46 +00:00
William S Fulton
b83ac2646b Fix for typedef to void *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:47:16 +00:00
Marcelo Matus
ce94984b71 fix errors for 32bit arch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 00:33:19 +00:00
Marcelo Matus
6d586307a2 better solution for warning of perl+cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 21:04:57 +00:00
Marcelo Matus
5b3dd8d72f fix cygwin warning for perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 20:24:04 +00:00
Marcelo Matus
c7dca4dcab fix missing endif
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 17:58:13 +00:00
Marcelo Matus
0ee6a0446a more fixes to MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:00:32 +00:00
Marcelo Matus
eee527b8b8 add snprintf def for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 06:55:26 +00:00
Marcelo Matus
7385a26ccd more on MSC and snprintf/strtoll/strtoull
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 04:48:11 +00:00
Marcelo Matus
11f69b8165 fixes for VC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:48:55 +00:00
Marcelo Matus
38a72d8ad1 solve MSC include problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:02:38 +00:00
Marcelo Matus
22ed3ee374 solve unused var warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:02:20 +00:00
Marcelo Matus
7065472c88 silence warnings with -O1 -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 01:03:37 +00:00
Marcelo Matus
a6e348b846 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/SWIG@8493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 18:59:06 +00:00
Marcelo Matus
24542ed0cd 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/SWIG@8492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 07:58:01 +00:00