Dave Beazley
7ccecdc4be
Configure bugs with perl. Removed runtime build by default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:14:44 +00:00
Dave Beazley
748462bb3e
Fixed perl5.005 problems
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:14:14 +00:00
Art Yerkes
b2fa1eab8b
Added checklist entry and corrected warning.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:59:49 +00:00
Art Yerkes
35e21e1c68
This example both shows the new enum literal facility, and is a regression
...
test against the enum scoping problem I had.
Ocaml.cxx: Accidentally reintroduced the enum scoping problem, so I added
an example that will fail if this is ever broken again.
I encountered the actual problem in avifile.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:57:57 +00:00
Art Yerkes
e0dca0ec65
shapes example: slight correction to depth map.
...
makedebugtop: include swig.cmo
Lib: factored out more common code, slightly reorganized class type.
added director define and exceptions.
std_string: length from the original ocaml string (no longer depends on
null termination)
ocamldec.swg/ocaml.swg: added caml_string_len
Examples/Makefile.in: quiet about checking out files.
Ocaml.cxx:
Fixed abstract director test case.
Include/exclude director.swg based on directors being enabled.
Final edits for 1.3.20, barring bugs being discovered.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:15:07 +00:00
William S Fulton
a01d61dc64
Update and further differences to the Java documentation added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 21:50:38 +00:00
Dave Beazley
0a0bdd880b
mzscheme tweaks.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 20:29:30 +00:00
Dave Beazley
a453a7486e
mzscheme tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 20:29:11 +00:00
Dave Beazley
e868cd6d42
Added OS X tweaks for guile. Note: some guile examples don't use this makefile and remain broken.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 18:10:45 +00:00
Dave Beazley
39b6c3632c
Guile configuration changes for OS X. Compilation of guile wrappers currently generates a *LOT* of
...
warning messages of the form:
warning: invalid conversion from `
scm_unused_struct*(*)()' to `scm_unused_struct*(*)(...)'
I've messed around with it and haven't been able silence the warning from any combination of macros, casts,
helper functions, compiler flags, linkage directives, or other tricks. Possible gcc-3.3 bug????
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 18:10:07 +00:00
Luigi Ballabio
a07b071331
Fixed problem with std::vector<unsigned int>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 08:23:00 +00:00
Dave Beazley
6bb8329541
Fixed some Tcl issues on OSX
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 05:13:12 +00:00
Dave Beazley
c90ffb71e5
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 05:12:51 +00:00
William S Fulton
07d402a34a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:32:27 +00:00
William S Fulton
a9396525e8
Fix for INOUT and OUTPUT typemaps for when the JNI type is bigger than the c type.
...
For example unsigned long (32bits) is mapped to jlong (64bits)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:29:54 +00:00
William S Fulton
17765e5664
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:23:42 +00:00
William S Fulton
89ca78ce96
Added test for javacode typemap for a templated class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:18:09 +00:00
William S Fulton
9f6df388f1
Added test for arrays of C structs (not typedef'd)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:17:44 +00:00
William S Fulton
e021185ad1
Use classtypeobj instead of classDeclaration:name for typemap searches.
...
Thanks Dave.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:16:00 +00:00
Dave Beazley
1e5b5c3661
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 21:58:27 +00:00
Dave Beazley
a5717296e7
Fixed [ 852119 ] recursive inheritance in output .pm, perl5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 21:57:41 +00:00
Dave Beazley
82986fa76b
Fixed [ 755382 ] calling func(const vector<T>& p) evaluates p[0] in interp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 19:47:14 +00:00
Dave Beazley
40cec6c0e8
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 19:46:54 +00:00
Dave Beazley
1c7cbccaa8
Added new attribute to class nodes
...
"classtypeobj"
This is the raw, SWIG type-system representation of the class type. This
should be used in all typemap lookups and operations involving the class name.
Note: There is inconsistent use of the "classtype" attribute across language modules--
especially in code related to directors. To avoid breaking the universe, I have
decided to store the correct type encoding as "classtypeobj" instead of replacing
"classtype". As modules are checked they can elect to use "classtype" or "classtypeobj"
as appropriate.
Note: William, you should use "classtypeobj" to fix the typemap problem (probably).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 18:56:59 +00:00
Dave Beazley
da53ad7bf2
Consolidated some of the C test cases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 18:37:42 +00:00
Art Yerkes
074327ba72
All test cases compile except director_abstract. I clued from what
...
William Fulton and Dave were talking about regarding the template parameters
and (), and this solved a bunch of wierd little problems I was having.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 08:50:39 +00:00
Logan Johnson
8f235b29c2
Suppress warning about multiple inheritance for Ruby.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-01 23:11:46 +00:00
Dave Beazley
2f45812b98
Warning messages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-01 13:38:08 +00:00
William S Fulton
7cd9191575
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 23:28:50 +00:00
William S Fulton
b87073328f
Fixed [ 545058 ] configure's --with-tclincl has no effect
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 23:27:34 +00:00
William S Fulton
e4ee860602
Minor bug fix from that initializes the jlong pseudo-pointer to 0 in director methods (makes the Java equals method based on getCPtr() work consistently.)
...
Submitted by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 21:18:40 +00:00
William S Fulton
0d26c3babf
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 21:16:04 +00:00
William S Fulton
d2430605d9
Completely removed SWIG_NOINCLUDE as the functions that use it don't need to be shared across different modules, besides there is no runtime library for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:49 +00:00
William S Fulton
1c2d0058bd
Completely removed SWIG_NOINCLUDE as the functions that use it don't need to be shared across different modules, besides there is no runtime library for Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:37 +00:00
Dave Beazley
57c0ecf17f
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:54:26 +00:00
Dave Beazley
03eaf2d72a
Added member pointer typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:53:43 +00:00
Dave Beazley
d9dc0ad9d9
new example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:51:05 +00:00
William S Fulton
930a6922c5
test non-public destructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:31:24 +00:00
William S Fulton
9e61b5f619
Added a protected destructor in derived class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:29:54 +00:00
William S Fulton
37b926a288
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:22:54 +00:00
William S Fulton
5439863ce1
#849064 fixed. Any classes with a non public destructor now have a public delete() method which throw a runtime exception. The delete() method was previously protected.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:13:08 +00:00
William S Fulton
a9c2e7aef3
Director fix for #include "xxxx_wrap.h". Was incorrectly adding a directory in some situations. See #848335 .
...
#849064 fixed. Any classes with a non public destructor now have a public delete() method which throw a runtime exception. The delete() method was previously protected.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:12:28 +00:00
William S Fulton
ed5a4bbb63
Director fix for #include "xxxx_wrap.h". Was incorrectly adding a directory in some situations. See #848335 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:08:14 +00:00
Dave Beazley
40fd19a7c4
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:55 +00:00
Dave Beazley
1bb91ece90
Added Perl support for member pointers. Some reorganization of other runtime code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:17 +00:00
Dave Beazley
f56c57274e
new example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:38:59 +00:00
Dave Beazley
e4319e118e
Fixed (char *STRING, int LENGTH) typemap to use STRLEN type.
...
Eliminates compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:24:38 +00:00
Dave Beazley
d62e0c9800
Fixed casting problem with references to arrays in gcc-3.3 (and maybe other versions).
...
I'm not sure if this is a gcc bug or a SWIG bug. However, the patch makes the
arrayref.i test work on my machine.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:06:35 +00:00
Dave Beazley
f829c8643c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:24:08 +00:00
Dave Beazley
cb97e287cd
Possibly more portable Python version extraction.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 18:23:14 +00:00