William S Fulton
fb723ca721
%name deprecated warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:18:24 +00:00
William S Fulton
d665cebeaa
bump version 1.3.23 -> 1.3.24
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:18:02 +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
William S Fulton
ea2a3a3925
const enum SWIGTYPE & typemap tests
...
more enum tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:13:27 +00:00
William S Fulton
b3ddf4de72
deprecated %name warning suppression
...
name_inherit test moved into name_cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:10:18 +00:00
William S Fulton
a935d489b3
Broken makefile fixed (trailing \ at end of list)
...
name_inherit tests moved into name_cpp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:08:57 +00:00
William S Fulton
fe7b03ec81
Removed last vestiges of enums being handled as integers in the core.
...
Mod for consistency across warning messages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:06:36 +00:00
William S Fulton
380d10aac8
Fixes for enums no longer being handled as integers in the core.
...
New special variable $*csclassname to compliment $&csclassname and $csclassname.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:04:28 +00:00
William S Fulton
34d29740db
Fixes for enums no longer being handled as integers in the core.
...
New special variable $*javaclassname to compliment $&javaclassname and $javaclassname.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:03:02 +00:00
William S Fulton
3250b2c176
Removed last vestiges of enums being handled as integers in the core.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:59:03 +00:00
William S Fulton
7803f9d220
Removed last vestiges of enums being handled as integers in the core.
...
New attribute, 'enumtype' -> needed when obtaining an enumitem value via a wrapper method - it contains the type of the enum so that an instance of this enum can be declared.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:57:40 +00:00
William S Fulton
ed1415ebad
Removed last vestiges of enums being handled as integers in the core.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:53:17 +00:00
Marcelo Matus
a603669c8f
more on protected ctors+directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 10:35:49 +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
c4d6cdf0ab
fix non public overload order
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 09:15:58 +00:00
Marcelo Matus
520d9238c0
adding readme and minor runme.py fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 18:22:53 +00:00
Marcelo Matus
58326f9cc8
adding Prabhu's 'weave' example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 17:19:13 +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
efd7f57142
patch #1069631 to disable cpp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 01:37:29 +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
ed510b78b6
generate checkout message in verbose mode, and in stdout, no stderr, since is not an error
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-19 20:47:13 +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
1a424e65a7
add back multiple_inheritance, now works
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 18:24:30 +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
73b3b898d6
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/SWIG@6755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:42:25 +00:00
Marcelo Matus
1b9dfb5838
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:40:02 +00:00
Marcelo Matus
3c0ce89d32
example of how to include the swig runtime code into external user code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:39:09 +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
b574e77f6b
fix macro with empy args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:25:23 +00:00
Marcelo Matus
82648b1d25
add proper deprecated code for %name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:32:26 +00:00
Marcelo Matus
831b585d55
add simple warning to deprecated %name directive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:04:27 +00:00
Marcelo Matus
2e1f72c883
update ignore list
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 05:37:50 +00:00
Marcelo Matus
b686ee01c5
add/fix protected/private bases + template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 05:36:23 +00:00
Marcelo Matus
60694088fa
remove test.dat file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 05:25:17 +00:00
Marcelo Matus
c45c6535f3
change error to warning when a base class is not defined
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 00:38:17 +00:00
Marcelo Matus
4ac505b4d4
added more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 00:18:32 +00:00
Marcelo Matus
79e259b23f
more updates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 23:19:12 +00:00
Marcelo Matus
04b8c5968c
updates for 1.3.24
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 23:00:40 +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
edb5a6669f
adding more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:58:10 +00:00
Marcelo Matus
d4f03d249e
fix for value_wrapper + feature:nodefault
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:56:18 +00:00
Marcelo Matus
586f7a876d
fix for abstract
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:55:27 +00:00
Marcelo Matus
23a4437e47
fix -director option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:54:16 +00:00
Marcelo Matus
5c273fc110
process protected/private bases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:53:13 +00:00