Marcelo Matus
8b79e6a28a
fix non public overload order
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 09:15:58 +00:00
Marcelo Matus
15d40b2d44
adding readme and minor runme.py fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 18:22:53 +00:00
Marcelo Matus
e54afae12d
adding Prabhu's 'weave' example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 17:19:13 +00:00
Marcelo Matus
9c5118bc7a
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@6763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:36:26 +00:00
Marcelo Matus
121d73d58c
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@6759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-19 20:40:20 +00:00
Marcelo Matus
e83dbc195b
add back multiple_inheritance, now works
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 18:24:30 +00:00
Marcelo Matus
3ce073b679
add example of how to include the swig runtime code into external user code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:42:25 +00:00
Marcelo Matus
55b36a30c9
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:40:02 +00:00
Marcelo Matus
eacea2b6f8
example of how to include the swig runtime code into external user code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:39:09 +00:00
Marcelo Matus
5beb5dc5df
fix macro with empy args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:25:23 +00:00
Marcelo Matus
e144561109
update ignore list
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 05:37:50 +00:00
Marcelo Matus
56e38db2de
add/fix protected/private bases + template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 05:36:23 +00:00
Marcelo Matus
590c322f99
remove test.dat file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 05:25:17 +00:00
Marcelo Matus
26c7c807e9
added more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 00:18:32 +00:00
Marcelo Matus
e2e96ec64f
adding more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:58:10 +00:00
Marcelo Matus
bebc53f9a2
fix typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:15:32 +00:00
Marcelo Matus
a00ab74a94
minor errors/warings fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:58:00 +00:00
Marcelo Matus
f1ad655a3e
added more test cases and broken ones
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 18:45:28 +00:00
Marcelo Matus
9e02ffda0f
recover pseudo nested class support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-13 01:25:56 +00:00
Marcelo Matus
11f121f948
fix ruby warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 00:02:07 +00:00
Marcelo Matus
1bdc2fa223
fix seg. fault in errors/.. and revert to previous 1.89 version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:30:25 +00:00
William S Fulton
98240e2dcd
update for change to proper enums instead of simple integers for enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 21:43:17 +00:00
William S Fulton
037a251369
more %ignore tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:28:04 +00:00
William S Fulton
0b150a96bb
more %rename/%ignore tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:27:02 +00:00
William S Fulton
e893bb526f
%rename runtime tests added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:25:51 +00:00
William S Fulton
3903b13479
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:24:57 +00:00
William S Fulton
36c36036fc
%rename tests beefed up a bit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:24:21 +00:00
William S Fulton
2159035486
%feature tests added for methods in an inheritance chain
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:23:04 +00:00
William S Fulton
4008388d0c
warning fix on Solaris
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:22:04 +00:00
William S Fulton
1562206701
warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:17:11 +00:00
Marcelo Matus
6bc74a1f92
added missing test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 06:12:07 +00:00
Marcelo Matus
464c01da12
fix def args + director + constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
Marcelo Matus
ccf5343b34
fix warnings when using directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 23:25:34 +00:00
Marcelo Matus
cea97e847b
fix warnings when using directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 23:18:01 +00:00
Marcelo Matus
20a5bd9617
fix warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 02:52:17 +00:00
Marcelo Matus
ee88f8acaf
remove warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 02:46:51 +00:00
Marcelo Matus
2807c61904
fix warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 02:36:07 +00:00
Marcelo Matus
e49611443e
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@6682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 23:18:45 +00:00
Marcelo Matus
6a01101fc8
new cases that show problem when mixing directors + constructor + def. args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 23:07:13 +00:00
William S Fulton
45419e9bed
mod to work on java-1.4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 00:13:48 +00:00
William S Fulton
bc3e8ba618
forgotten runtime test for std::vector
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:29:36 +00:00
William S Fulton
6645e8b5dc
default args added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:19:00 +00:00
William S Fulton
adacc118f3
C# fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:17:59 +00:00
Marcelo Matus
021695a2a1
add std_list (lluisp #1033399 )
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:32:26 +00:00
Marcelo Matus
523c3c6e73
fix typemap + numinputs +argout
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 00:22:29 +00:00
Marcelo Matus
32b724e75c
remove old patch for features + def arg, but save the ignore/rename part. Now everything seems to be working.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 23:18:01 +00:00
William S Fulton
23413c0edc
Beefed up features test. The C++ code will fail to compile if features are not working as expected.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:11:35 +00:00
Marcelo Matus
f81cf97c35
fix private new operator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:44:41 +00:00
Marcelo Matus
44009421a8
fix %features/%rename + def args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:41:31 +00:00
Art Yerkes
b1c2cd26b4
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@6655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 04:17:00 +00:00