Commit graph

4,881 commits

Author SHA1 Message Date
Surendra Singhi
7295f37acc Added cffi module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:31:54 +00:00
Surendra Singhi
3b637dedf0 Disabled debug output, and fixed enum declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:24:13 +00:00
Surendra Singhi
5c0220b3be Adding CFFI module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:04:42 +00:00
Surendra Singhi
b2cb043998 Initial revision. Adding CFFI module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-24 14:02:26 +00:00
Marcelo Matus
aaedd30000 fix def_arg case broken with last &/* fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 18:21:18 +00:00
William S Fulton
5cf457be17 English fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:58:42 +00:00
William S Fulton
eaa82f313d New $imclassname special variable to enable changing the intermediary class name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:25:30 +00:00
Marcelo Matus
846b944917 normalize operation, first reduce, then qualify
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:12:15 +00:00
Marcelo Matus
ef800abf8d fix template + operator()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:10:38 +00:00
Marcelo Matus
2784abd610 fix ifdef
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:29:26 +00:00
Marcelo Matus
76ba896ed5 always disable the castmode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:23:22 +00:00
Marcelo Matus
6bf5187168 add castmode in python and cleaning the castdispatch mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
485ccd5809 add more dispatch cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 01:44:36 +00:00
Marcelo Matus
6bb9dd502f more perl + cast/rank mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:46:50 +00:00
William S Fulton
afad7836cd Remove (void)_e. This is a duplicate of what already exists in the typemaps so is not needed. If there are any more exception handlers that issue the unused variable warning, add a '(void)$1;' into the throws typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:28:38 +00:00
William S Fulton
4c5dbe5cff *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:16:08 +00:00
William S Fulton
c17e4cff56 fix exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:14:02 +00:00
Marcelo Matus
c0da62d128 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/SWIG@8045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:07:49 +00:00
Marcelo Matus
ae09b70a40 changes to support cast ranking for dispatch and/or overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:06:27 +00:00
Marcelo Matus
5b34d656e6 fix recursive inclusion seg fault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:04:47 +00:00
Marcelo Matus
a1e7dad0ba fix name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 23:47:08 +00:00
William S Fulton
933af2ee87 html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8041 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 23:31:02 +00:00
William S Fulton
d9a9d51a4a Add note about new windows.i file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 23:25:25 +00:00
Marcelo Matus
e75bc08f7e fix unsigned cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:18 +00:00
Marcelo Matus
7ceec6f458 add support for __slot__ case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:02 +00:00
Marcelo Matus
59d0c24108 more cleanups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:43:11 +00:00
Marcelo Matus
d812f5fe5e disable copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:38:02 +00:00
Jason Stewart
12a429f555 fixed unsigned long typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:14:59 +00:00
Jason Stewart
be3a9e15d7 removed ENTER - it conflicts with code that needs XS access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:13:00 +00:00
Jason Stewart
c9da8bf63e cleanup up comment spelling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:11:40 +00:00
Marcelo Matus
799e9b4386 minor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:38:23 +00:00
Marcelo Matus
8ffd60bec7 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:32:49 +00:00
Marcelo Matus
723281a823 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
William S Fulton
a441f65eab Fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:55:50 +00:00
William S Fulton
751086e8e0 new $imclassname special variable to fix bugs changing the intermediary classname
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:54:47 +00:00
William S Fulton
6943996687 new $imclassname to fix bugs changing the intermediary classname
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:51:25 +00:00
William S Fulton
b1fb5edf05 test changing the intermediary classname from default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:50:08 +00:00
William S Fulton
1e9ff45c66 add intermediary_classname.i for testing changing the intermediary classname from default (Java/C#)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:48:32 +00:00
William S Fulton
580badb099 add info about new $imclassname and %module(imclassname="..")
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:45:27 +00:00
Marcelo Matus
c2073866b3 add docs for new -nodefault, -nodefaultdtor and -oldnodefault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:20:52 +00:00
Marcelo Matus
e5482f9e08 add -nodefault entry
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 18:27:47 +00:00
Marcelo Matus
c09006dbdd Use safe Py_None in Windows or when using -DSWIG_PYTHON_SAFE_NONE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:09:13 +00:00
Marcelo Matus
f787718a53 remove extra breaks as in #1381950
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:08:23 +00:00
Marcelo Matus
5c0aa1a1e5 allow the parser.y to be compiled with c++ (throw->throwf)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:07:36 +00:00
Marcelo Matus
37c3c25427 fix for the switch/case:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:06:54 +00:00
Marcelo Matus
c319bcfb3f add Swig_overload_dispatch_cast for dispacth with casting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:06:15 +00:00
Marcelo Matus
97bcb96a9a fix unused for 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 21:44:56 +00:00
Marcelo Matus
a8c3748153 fix unused for 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 21:18:44 +00:00
Marcelo Matus
8748a2b6c6 fix bad replace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 01:32:01 +00:00
Marcelo Matus
c805e48d35 add the -modernargs/-nomodernargs options and code to deal with old python 1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 00:35:03 +00:00