Marcelo Matus
7cc6470fe6
added the -I- option and %include <file>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 05:55:43 +00:00
William S Fulton
550476ac58
Warning fix for directors submitted by Russell Magee
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-14 21:37:18 +00:00
William S Fulton
93ab6a9a6e
Bill Clarke preprocessor fix for dynamic_cast.cpptest failure on Solaris
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-14 20:31:12 +00:00
William S Fulton
2fc7f17ec7
Oops, undo last commit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-04 00:19:42 +00:00
William S Fulton
3e5741f582
unnecessary check and code simplification when emitting value type returns
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-03 22:17:14 +00:00
William S Fulton
3a56cbeaa9
memory leak fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-03 22:13:41 +00:00
William S Fulton
96613ca3b5
Commit for Art Yerkes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-02 20:42:10 +00:00
William S Fulton
299b2c5b1a
%feature("shadow") patch from Christoph Flamm
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-02 20:33:28 +00:00
William S Fulton
2800279d68
Consistent use of 'proxy' over 'shadow' throughout
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-02 20:32:30 +00:00
William S Fulton
9fe21957a6
director fixes on error
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:27:46 +00:00
William S Fulton
1c9405d4bf
Various warning fixes for Sun Workshop compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:25:56 +00:00
Lyle Johnson
10a3081da9
Pass "false" as the value for the "disown" argument of director-wrapped
...
constructors (instead of 0) to disambiguate it from pointer arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:49:23 +00:00
Lyle Johnson
4889aadd3d
Corrections for Ruby 1.6 compatibility.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:37:54 +00:00
William S Fulton
153427fe0a
const fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 22:02:31 +00:00
William S Fulton
5f3b26901c
Fixes for -fmicrosoft error/warning message display:
...
- EOF not displaying in correct format
- Some error messages containing a path were using a double backslash instead of a single backslash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:34:41 +00:00
Lyle Johnson
745117d4f6
Corrected a bug which caused Ruby exceptions to not be correctly
...
converted into C++ exceptions for director classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 02:20:26 +00:00
William S Fulton
537f477182
added %perlcode directive, patch from Fabrice Salvaire
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:02:47 +00:00
William S Fulton
fb7b5a6cf5
Fix for directors when wrapping virtual methods with exception specifications
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 20:59:25 +00:00
William S Fulton
8568295425
Sun Workshop warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 20:45:56 +00:00
William S Fulton
6207f1615e
Sun Workshop warning fixes
...
Use new not malloc in C++ code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 20:45:23 +00:00
William S Fulton
4035e3474c
typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:52:36 +00:00
William S Fulton
cf5edcc6da
copyright update and typo in -help
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:14:25 +00:00
William S Fulton
0b7b1edad1
const fixes for allegro module usage
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:48:46 +00:00
William S Fulton
92b365d87d
Fix so that this file compiles
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:47:54 +00:00
William S Fulton
b54804260f
pesky warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:46:22 +00:00
John Lenz
ed4354cefd
move pragma_include to below the EXPORT line in perl module.
...
This is patch 922680.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 01:12:45 +00:00
William S Fulton
7e5ec7742c
Fix for enum forward declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 20:10:51 +00:00
William S Fulton
54ca921e74
Applied patch #1011604 submitted by Charles Schwieters. Fix for 64 bit tcl interpreters.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 20:05:51 +00:00
Matthias Köppe
0818500caf
Replace hardcoded type specifiers by typemap-based type specifier lookup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 15:28:58 +00:00
John Lenz
65167cb25d
Fix some perl warnings reported by Steve Fink and also attached to patch 960326.
...
I had to pass -Wall -Wextra to gcc to generate the warnings fixed by this patch.
VS: ----------------------------------------------------------------------
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 07:16:30 +00:00
Matthias Köppe
6e6317c9cf
<Dmitriy.Zavin@infineon.com> writes:
...
> I have hacked support to create native mzscheme structures from C
> structures, which includes native structure support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 14:21:33 +00:00
William S Fulton
06c6ab33f8
Fixes to compile on some buggy Redhat gcc 2.96 versions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 21:12:21 +00:00
Ahmon Dancy
fb0472caa3
case mode fixes for allegrocl module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-03 23:07:45 +00:00
William S Fulton
afecabc4f3
XML patch from Robin Dunn adds -dump_xml and -xmlout <file> for generating XML of post processed parse tree
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:53:23 +00:00
William S Fulton
5e5ba98ffd
director enum fixes from Scott Michel
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:46:45 +00:00
William S Fulton
da43bcfe72
missing ;
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:46:10 +00:00
Lyle Johnson
f28f2f6240
Committed Kou's patch for the Ruby module (for the -prefix command line
...
option). Also updated the Ruby docs accordingly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-11 18:32:43 +00:00
William S Fulton
85ae8dd377
-ldflags option removed for removed prebuilt runtime library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:42:54 +00:00
Matthias Köppe
d4f8df729f
Convert character and string literals to CL syntax.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-07 16:54:11 +00:00
William S Fulton
5b10a2cb11
Support for %javaconstvalue added (better compile time constants)
...
Support for %feature("except", throws="ExceptionClass") so that any Java exception classes thrown from JNI code can be added to the throws list - handled in the same way as the 'throws' attribute in typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:00:05 +00:00
William S Fulton
56182e04f1
Support for %csconstvalue added (better compile time constants)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:56:54 +00:00
William S Fulton
24a7f00d0a
New feature attributes added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:53:22 +00:00
William S Fulton
000c8d455a
1)
...
%feature improvements for the syntax that takes the feature value within the
%feature() brackets. The value specified is no longer restricted to being just
a string. It can be a string or a number. For example, this is now acceptable
syntax:
%feature("featurename",20.0);
whereas previously it would have to have been:
%feature("featurename","20.0");
Useful for features that are implemented as a macro, for example:
#define %somefeature(value) %feature("somefeature",value)
These will now work accepting either a string or a number:
%somefeature("Fred");
%somefeature(4);
2)
%feature enhancements. Features can now take an unlimited number of attributes
in addition to the feature name and feature value. The attributes are optional
and are much the same as the typemap attributes. For example, the following
specifies two optional attributes, attrib1 and attrib2:
%feature(featurename, attrib1="attribval1", attrib2="attribval2") name "val";
%feature(featurename, val, attrib1="attribval1", attrib2="attribval2") name;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:48:57 +00:00
John Lenz
c394a8dd9f
The guile and chicken _runme scripts are now shared
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-07 05:03:39 +00:00
William S Fulton
2c301423bf
Patch to fix wrapping of templated methods. ISO compliant compilers, like
...
Comeau and GCC-3.4.0, don't like the template specifier that SWIG was generating
when calling the method. This fix may break some non standard compliant compilers,
for example, Sun workshop compilers prior to version 6.2.p2. Patch submitted
by Bill Clarke.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:27 +00:00
William S Fulton
ad46ed2214
csgetcptr and csptrconstructormodifiers typemap replaced by the csbody/csbody_derived typemap
...
csclassmodifiers typemap now contains the class type
imclassclassmodifiers and moduleclassmodifiers pragmas now contain the class type
$module special variable support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:39:16 +00:00
William S Fulton
83f70b7d17
javagetcptr and javaptrconstructormodifiers typemap replaced by the javabody/javabody_derived typemap
...
javaclassmodifiers typemap now contains the class type
jniclassclassmodifiers and moduleclassmodifiers pragmas now contain the class type
$module special variable support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:38:05 +00:00
William S Fulton
970027f277
Java and C# typemap changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:30:15 +00:00
William S Fulton
24796816de
Fix for gcc-3.4.0
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 21:37:49 +00:00
William S Fulton
0517402cea
typesafe enum support for storing the enum name (for ToString)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:25:18 +00:00