Commit graph

56 commits

Author SHA1 Message Date
Dave Beazley
ff2943a35d Fixed broken inheritance in shadow classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 20:20:18 +00:00
Dave Beazley
b35f368548 Incorporated return value optimization suggested by Jon Travis.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 04:29:29 +00:00
Dave Beazley
88face31f8 Took out 'self = self' hack.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 00:43:47 +00:00
Dave Beazley
74f12225d3 Fixed bug in default argument handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:45:30 +00:00
Dave Beazley
16ff68c288 Changed _swig_type_info to swig_type_info
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Thien-Thi Nguyen
877aa52016 Use EXIT_SUCCESS' and EXIT_FAILURE'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:04:30 +00:00
Dave Beazley
04ce582624 Fixed void pointer problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 16:34:22 +00:00
Dave Beazley
227cacaa8e Bug fixes in variable linking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 22:37:51 +00:00
Dave Beazley
e8fe852d9f Lot's of minor bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 03:32:41 +00:00
Dave Beazley
7f251fc20b Changed internal handling of string literals. Added new typemap specification syntax with strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 20:15:08 +00:00
Dave Beazley
186edaaae4 Fixed problem with SWIGTYPE_.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:25:10 +00:00
Dave Beazley
62bab0f84c Resurrected Perl5. Needs more work though
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 21:14:10 +00:00
Dave Beazley
e2dd37cb93 Lots of cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 05:08:26 +00:00
Dave Beazley
f470aa1067 Restored the Python module. Lots of minor fixes and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 21:47:36 +00:00
Dave Beazley
dae32de1c5 Converted parameter lists to linked lists
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 18:37:30 +00:00
Dave Beazley
e35d1e417f Fixed typemap bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-08 19:10:51 +00:00
Dave Beazley
01c0c668a3 Finished removal of all public attributes of types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 16:36:43 +00:00
Dave Beazley
7f24ebca9a Hid the name and is_reference attributes of types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 04:01:14 +00:00
Dave Beazley
5c7d202825 Started the (most painful) process of dropping type attributes behind a function call interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-25 04:02:31 +00:00
Dave Beazley
e036e895d3 Cleanup. Replaced Parm and ParmList data structures with new implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 21:48:56 +00:00
Dave Beazley
6780bd2e49 Cleanup and a variety of changes related to new core.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 04:01:26 +00:00
Dave Beazley
9bb0ec4a19 More work on smoothing out the type system. Needs more work however.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-23 04:43:39 +00:00
Dave Beazley
8a7d0af5ad Changed the handling of types in parameter lists and removed the %val
and %out directives.    This result of this change is that SWIG does
a lot less manipulation of types before they are given to language
modules.  It also means that a lot of stuff is going to be broken
for a short period of time.   I am working on cleaning all of this up
so give me a few days to sort it out.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:26:17 +00:00
Dave Beazley
97d9d53f1b Moved parms and types to C. Changed parameter API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 19:38:59 +00:00
Dave Beazley
20fa159d56 Class interface to DataType is gone.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 04:40:12 +00:00
Dave Beazley
4756fefcef Changed data structures related to function parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 19:42:41 +00:00
Dave Beazley
452477d12c Minor changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 15:04:16 +00:00
Dave Beazley
f50c94d933 Removed the WrapperFunction class entirely. Everything uses the C version.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 21:52:58 +00:00
Dave Beazley
64e2755215 Modified the WrapperFunction class. Fixed various bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 16:46:18 +00:00
Dave Beazley
ddbe3d7361 Fixed compile problem on Solaris.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 14:34:07 +00:00
Dave Beazley
d36c48a9c1 C++ String class and all operator overloading removed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 03:11:24 +00:00
Dave Beazley
f5d605c9f7 Removed Strings from Python module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 19:15:25 +00:00
Dave Beazley
2a8c5afeea Removed the undocumented build typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 01:08:51 +00:00
Dave Beazley
190382207b Replaced the C++ String class with a wrapper around DOHString. Eliminated
the automatic conversion of String --> char * at the risk of breaking the
universe (although I think I have fixed everything).  This change made the wrapper
modules a lot more ugly, but it's now a lot more obvious as to what is a
String and what is a char * which will be useful when I get around to patching
up all of the interfaces and objects.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-28 03:32:58 +00:00
Dave Beazley
243ef9cfee Lot's of cleanup. Removed some more source files. Migrated more functionality to C.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 20:34:21 +00:00
Dave Beazley
8e0010c43a Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 16:24:55 +00:00
Dave Beazley
257fda0e30 Disabled the optimized shadow classes by default.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 19:32:01 +00:00
Dave Beazley
d8dc41c0e7 Removed the last of the Workshop 5.0 warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 00:36:04 +00:00
Dave Beazley
b363cd0a82 Removed dependency on the Hash object
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 22:56:02 +00:00
Dave Beazley
5ea3f52041 Slash, burn, crash, crumble. Don't mind me.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-27 03:47:17 +00:00
Dave Beazley
79a4bd4509 Modified language modules to include mod11.h instead of swig11.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 20:19:34 +00:00
Dave Beazley
093f7b7e39 More performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:55:33 +00:00
Dave Beazley
c8f173444d Optimizations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 19:32:45 +00:00
Dave Beazley
7613594cd9 Minor bug fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:47:56 +00:00
Dave Beazley
6252cd1103 Slight change to type-handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:43 +00:00
Dave Beazley
7c549890f1 Removed the documentation system. A lot of cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 19:41:28 +00:00
Dave Beazley
38c2518d77 Minor cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 15:06:19 +00:00
Dave Beazley
df5e523581 Changed code-generation for constants to use a table instead of repeated function
calls in the initialization function.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 17:20:57 +00:00
Dave Beazley
a3e279d7d4 Minor fixes to type handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:26:38 +00:00
Dave Beazley
6ef6a5d377 Fixed slight bug with type-checker in Python module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 16:43:13 +00:00