William S Fulton
deaf8c681f
new directorconnect and directorconnect_derived typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:04:54 +00:00
Marcelo Matus
ec2efb899d
more on template def args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 07:05:48 +00:00
Marcelo Matus
6b499410dd
more fixes for template + def args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
d8ae51668b
fix include in bug #1076122
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 12:02:46 +00:00
Marcelo Matus
3331853982
better support for string and def. args, plus adding allocator + sstream
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:22:30 +00:00
Marcelo Matus
966290225e
fix error in bool
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:20:42 +00:00
Marcelo Matus
e14b6980f7
fixes for void*
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:20:04 +00:00
Marcelo Matus
76970ce637
fix enum + ref + directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:18:56 +00:00
William S Fulton
9316c04deb
Corrected usage of $javaclassname special variables in director typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-30 20:10:44 +00:00
John Lenz
6f2e0a5ec1
perl module now supports runtime.swg
...
+ split up Perl_LookupTypePointer into two functions like python module
+ added a perlinit.swg file with the code from the bottom of perl5.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-29 23:13:57 +00:00
William S Fulton
b8d5ea651d
const enum SWIGTYPE & typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:16:24 +00:00
William S Fulton
b3b4915932
%name replaced by %rename
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:15:04 +00:00
Marcelo Matus
36bfc66486
add iostream test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 09:18:32 +00:00
Marcelo Matus
a111449e8c
Prabhu's fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 16:47:49 +00:00
Marcelo Matus
8e0ff81516
using the global runtime.swg instead of python/pyrunalias.swg. Now the same solution can be used in other languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:44:08 +00:00
Marcelo Matus
9c08af4fc4
fix error message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:43:16 +00:00
Marcelo Matus
492c58c659
using the global runtime.swg instead of python/pyrunalias.swg. Now the same solution can be used in other languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:36:26 +00:00
Marcelo Matus
c573cfe3a8
minor 'const' consistence fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:30:55 +00:00
Marcelo Matus
9ead45061c
remove bad typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-19 20:44:35 +00:00
Marcelo Matus
0881d3c861
Add simple PySwigObject to handle the C/C++ instance pointers,
...
instead of using PyCObject or plain strings.
The new PySwigObject is even safer than PyCObject, and
more friendly than plain strings:
now you can do
print a.this
<Swig Object at _00691608_p_A>
print str(a.this)
_00691608_p_A
print long(a.this)
135686400
print "%s 0x%x" % (a.this, a.this)
_00691608_p_A 0x8166900
the last one is very useful when debugging the C/C++ side, since
is the pointer value you will usually get from the debugger.
Also, if you have some old code that uses the string representation
"_00691608_p_A", you can use it now again by calling str(ptr), or
maybe nothing special by just calling PyString_AsString(..).
This change is mainly for nostalgic swig users that miss the
string representation, but also allows to say again
if a.this == b.this:
return "a is b"
and well, since the change were really simple, maybe in the future
we will be able to do
next = a.this + 1
or add native python iteration over native C/C++ arrays, ie, no
need to create/copy new tuples when returning and array or vector.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-19 20:40:20 +00:00
Marcelo Matus
3c0acd2c9b
remove inclusion of precommon.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 05:56:38 +00:00
Marcelo Matus
8b8c5d9428
allow to include the swig runtime code into external user libraries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 01:00:38 +00:00
Marcelo Matus
811c159e38
allow to include the swig runtime code into external user libraries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:37:33 +00:00
Marcelo Matus
0d9df55066
add back support for specialize_std_vector/list/etc
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:59:47 +00:00
Marcelo Matus
1904024805
more fixes for size_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:56:37 +00:00
Marcelo Matus
7862ad30d4
more enum typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:55:53 +00:00
Marcelo Matus
f6941ebf2f
add typemaps for vars +two dimensional arrays
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:55:20 +00:00
Marcelo Matus
88a08fdfc8
improved support for size_t/ptrdiff_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-13 01:26:50 +00:00
William S Fulton
054b450ad4
forgotten checkin to remove some warnings on VC++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 21:50:54 +00:00
Marcelo Matus
5d741fe99f
better error message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-10 23:00:49 +00:00
William S Fulton
f0e60adb7b
warning fixes for VC++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:18:10 +00:00
Marcelo Matus
41a0b2dd59
fix def args + director + constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
Marcelo Matus
dd502bfae0
add missing %types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 02:22:29 +00:00
Marcelo Matus
8083d4b64b
back to typemaps for size_t/ptrdiff_t. typedes don't work with std::vector
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 23:18:45 +00:00
Marcelo Matus
dade472fb2
fix for null-reference 1038359
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:49:10 +00:00
Marcelo Matus
994e796c87
add std_list (lluisp #1033399 )
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:32:26 +00:00
William S Fulton
9bf092eb5a
C# std::vector support. Not really ready for the masses, but enjoy anyway.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:37:37 +00:00
William S Fulton
5df51fab85
tidy generated code up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:26:17 +00:00
Art Yerkes
3101067a2d
Uniform SWIGSTATIC on all prototypes.
...
#ifdef __GNUC__ -> static inline to remove warning spew using gcc
typemaps: tweaks for arrays, enums
ocaml.cxx: remove Swig. qualifier everywhere it's not needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 04:17:00 +00:00
John Lenz
6a0fbb5a2c
When compiling with gcc -ansi, inline was improperly getting set.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 01:27:57 +00:00
John Lenz
3a07959dda
Fix a bug where chicken wrappers were not correctly registering values with the
...
chicken garbage collector.
Update the chicken documentation to reflect the new proxy class support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 23:13:59 +00:00
Marcelo Matus
f42ab6d25a
going back to use COBJECTS, which is the safe option, before release
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:09:28 +00:00
John Lenz
c65f985bc6
Revert guile_gh.swg and guile_gh_run.swg to not use new runtime system.
...
Added global variable to hold status of -runtime,-c,-noruntime flag for use
in guile gh module mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:06:53 +00:00
Marcelo Matus
ff50a783e9
Fix for compiler dependent macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:06:25 +00:00
John Lenz
af9b02bc60
The new python runtime now works from python versions 1.6.1 to 2.3.4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:26:39 +00:00
Marcelo Matus
c801ac41ec
add more docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 18:48:59 +00:00
Marcelo Matus
53ec1c3c1d
add #include <cwchar>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6619 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 17:08:15 +00:00
Marcelo Matus
da29a4793d
more warns fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 16:37:10 +00:00
Marcelo Matus
fcd93c0dc7
fixes for Sun Studio 9, test it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:26:54 +00:00
Marcelo Matus
a1b15cede0
fix warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:24:22 +00:00