Jason Stewart
eefe20390c
fixed document typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 06:35:51 +00:00
Jason Stewart
71dfd43bef
fixed file path typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 06:27:59 +00:00
Marcelo Matus
990aa04cd2
better str_new
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:46:12 +00:00
Marcelo Matus
41947a37e8
add missing operator warns
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:44:33 +00:00
Marcelo Matus
bd1c02b658
add %kwargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:59 +00:00
Marcelo Matus
8c93709658
better kw from Olly's comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:43:06 +00:00
Kevin Ruland
8b2070268a
Made string typemaps handle strings with embedded nulls. Changed to use
...
cstring::data() instead of c_str() to avoid a possible copy. (Ollie Betts)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:15:12 +00:00
Marcelo Matus
370b0ada6b
move print from kw to bn
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 03:06:53 +00:00
Marcelo Matus
f284375212
add tcl+java example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 11:59:54 +00:00
Marcelo Matus
8db859aa80
add jstring.i for ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 10:51:35 +00:00
Marcelo Matus
9ca73746b6
add built-in macro and flag 'empty' as a built-in name instead of a kw
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 09:14:30 +00:00
Marcelo Matus
dbc55f256c
add gcj and java->python initial support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:54:56 +00:00
Marcelo Matus
7e8fc00652
securing the call to SWIG_IsOK, which is a macro
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 01:14:24 +00:00
Marcelo Matus
901bb6d73b
add the copyctor feature/directive to enable automatic copy constructors. In the way, fix how default ctor/dtor are added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:04:00 +00:00
William S Fulton
d57e63e2a5
Add in array reference typemaps - the recently introduced pointer reference typemaps broke array references.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 00:16:48 +00:00
Marcelo Matus
53cf7fd217
no need for , use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 23:23:42 +00:00
Marcelo Matus
03d7aba73c
cosmetics and remove extra freearg typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:38:49 +00:00
Marcelo Matus
d0fbab350b
fix NEWOBJ->TMPOBJ
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:10:10 +00:00
Marcelo Matus
ad79d78875
fix char/bool types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:08:04 +00:00
Marcelo Matus
62ecf24b23
fix missing __PTHREAD__
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 08:46:45 +00:00
Marcelo Matus
fd0d08fead
fix for the typemap match option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:52:55 +00:00
Marcelo Matus
e4637545e3
add implicitconv support and cosmetics for cast rank
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:06:26 +00:00
Marcelo Matus
f31cdba60d
add support for more 'expressive' result values, which now can carry the old OK/ERROR state, and also the cast rank and the New/Tmp masks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:04:58 +00:00
Marcelo Matus
1078fc9943
add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods. Also add macros for CharLeak/SwigtypeLeak warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:03:03 +00:00
Marcelo Matus
0a9ffc2c2d
add the null reference error
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:01:39 +00:00
Marcelo Matus
9039ead445
add the label for use inside typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:41:03 +00:00
Charlie Savage
885247aef7
Fixes bug 1386579. When returning a vector of pointers, do not create
...
copies of the objects that are pointed to since they may not have
copy constructors. This also is more inline with returning a vector from a method
in C++ where the pointers are copied but not what they point to.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 19:56:35 +00:00
Charlie Savage
5dd84412c3
Reimplementation of tracking objects in Ruby. Instead of passing the $track flag to
...
the methods SWIG_Ruby_ConvertPtrAndOwn and SWIG_Ruby_NewPointerObj,
now tracking information is held on swig_class. This change reduces
significantly reduces the amount of code needed in ruby.cxx, is more robust, and is
more cohesive.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
William S Fulton
911613c92b
fix to set method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 10:46:54 +00:00
Mark Gossage
810453e6b6
Mistake: numargs replaced with numinputs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 09:58:19 +00:00
William S Fulton
6b73e09521
Fix for vector of bool
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 01:50:49 +00:00
William S Fulton
fa84803fbb
Use value_type to to more closely match the STL declarations and work around some bugs in some compilers for pointer references (when the type is a pointer)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:23:58 +00:00
William S Fulton
674b0795a4
Add pointer reference typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:09:16 +00:00
Surendra Singhi
7cfedfae05
Initial revision. Adding CFFI module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:02:26 +00:00
William S Fulton
ef5e93c9ca
English fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:58:42 +00:00
William S Fulton
62e67b7fe2
New $imclassname special variable to enable changing the intermediary class name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:25:30 +00:00
Marcelo Matus
f6a552d273
fix ifdef
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:29:26 +00:00
Marcelo Matus
5a76bc68fc
add castmode in python and cleaning the castdispatch mechanism
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
ba4df9e37d
more perl + cast/rank mechanism
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:46:50 +00:00
William S Fulton
5da1b88934
fix exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:14:02 +00:00
Marcelo Matus
7edc2e0a91
implement the rank-cast dispatch mechanism, which is now the default behavior in perl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:07:49 +00:00
Marcelo Matus
84b96ab3ad
changes to support cast ranking for dispatch and/or overloading
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:06:27 +00:00
Marcelo Matus
65d7d294d4
fix unsigned cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:18 +00:00
Marcelo Matus
29d112f565
add support for __slot__ case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:02 +00:00
Jason Stewart
8f66e0ced2
fixed unsigned long typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:14:59 +00:00
Jason Stewart
556e5e2a58
removed ENTER - it conflicts with code that needs XS access
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:13:00 +00:00
Jason Stewart
326936e54d
cleanup up comment spelling
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:11:40 +00:00
Marcelo Matus
f023a22575
generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
William S Fulton
36b0436a48
new $imclassname to fix bugs changing the intermediary classname
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:51:25 +00:00
Marcelo Matus
c26788de5f
add docs for new -nodefault, -nodefaultdtor and -oldnodefault
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:20:52 +00:00