Marcelo Matus
397f473edd
add private case and runtime
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 02:04:37 +00:00
Marcelo Matus
6aca241887
add new cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:59:04 +00:00
Marcelo Matus
7ca386e731
fix example back to use old typemaps rules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:58:42 +00:00
Marcelo Matus
d1f4bec910
more smart pointers + extend fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-04 09:41:05 +00:00
Marcelo Matus
bef269c021
fix for 'staticmethod' kw name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:32:31 +00:00
Marcelo Matus
6697860206
.cvsignore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 08:26:01 +00:00
Marcelo Matus
e5ce468853
fix typecheck for INPUT* type
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 10:19:54 +00:00
Marcelo Matus
839e80a70b
fix *INPUT typemaps for ptr types, now a null value is ok
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:36:45 +00:00
Marcelo Matus
7cb488e057
avoid using of temporal value for wrapping type user + const reference argument
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-18 05:57:08 +00:00
Marcelo Matus
544f24441e
solve possible seg. faults and directors #1080075
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 10:40:01 +00:00
Marcelo Matus
0ac8253c3f
fixes for templates and template default args, cosmetics, and other fixes for OSS
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
Marcelo Matus
c98340f0a7
fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
47c625db0a
add typedef case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 09:04:27 +00:00
Marcelo Matus
988db075cb
fix char* typemap in bug #1080514
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 08:30:40 +00:00
Marcelo Matus
c5f1c1bdf9
more smart_pointer fixes + cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:32:11 +00:00
Marcelo Matus
922d7d4cfe
.cvsignore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 07:11:04 +00:00
Marcelo Matus
db5a9e2140
fix smart_pointer + extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 06:58:41 +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
ae287532ae
CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 11:37:15 +00:00
Marcelo Matus
49c6b3f14f
add support for smart pointers + %extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 11:29:17 +00:00
Marcelo Matus
25e1e7932a
adding more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:17:56 +00:00
Marcelo Matus
6923d5346c
add smart_pointer +members test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:06:04 +00:00
Marcelo Matus
ccee8a5a0a
removing generated interface
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-29 18:02:03 +00:00
Marcelo Matus
78266c9b0d
change stream test name, plus more tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 22:34:48 +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
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
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
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
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
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
20debc4ed8
added more test cases and broken ones
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 18:45:28 +00:00
William S Fulton
263b2af0c5
more %ignore tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:28:04 +00:00
Marcelo Matus
2c751607cd
added missing test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 06:12:07 +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
9d3cce855e
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/SWIG@6668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 23:18:01 +00:00
Marcelo Matus
b19d0dc05e
fix serious bug with def args + static methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 10:22:15 +00:00
Marcelo Matus
a0c0486d76
making sure the resolve_scope_node is working fine before release, and fix for unnamed namespace
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:07:02 +00:00
Marcelo Matus
6227611fa7
fixes for %template+member/static methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:59:38 +00:00
Marcelo Matus
3a405023eb
add #include <algorithm>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:31:29 +00:00
William S Fulton
1004070fc5
lib_xxx name change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:51:35 +00:00
William S Fulton
a56d3a46bf
lib_xxx renamed to li_xxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:35:08 +00:00
William S Fulton
07598ba59b
renamed lib_xxxx to li_xxxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:33:12 +00:00
William S Fulton
8d458e3d32
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:31:55 +00:00
William S Fulton
89782ca04e
lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:18:22 +00:00
William S Fulton
dc903c677a
lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
William S Fulton
40c6de5b56
lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses which won't load libraries starting with lib.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:03:04 +00:00
William S Fulton
dc12af75b6
various fixes to remove warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:10:06 +00:00
Marcelo Matus
53306bdc3e
now 'defined' as variable name is fixed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 21:28:36 +00:00
Marcelo Matus
1fd5610c9f
fix import + typedefs. see example in imports_b.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:23:19 +00:00