Commit graph

99 commits

Author SHA1 Message Date
Dave Beazley
574ef19b96 Various cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-07 21:18:24 +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
eeadf99e34 Added cwrap.c file that contains a variety of wrapper function support code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:54:02 +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
Thien-Thi Nguyen
3233009c09 (DelParmList): Fix bug: Handle NULL input.
Thanks to Matthias Koeppe.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-17 18:29:10 +00:00
Dave Beazley
307207ea64 Some API changes to DataType
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-14 21:37:34 +00:00
Dave Beazley
5f8ffd5c5d Fixed Wrapper_new_local() function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 23:09:23 +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
c2b76fb375 Fixed the pretty-printing code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 15:04:08 +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
76c442982f Work in progress
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 21:23:29 +00:00
Dave Beazley
2cc9dbe7fd More improvements to types and related code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 04:20:33 +00:00
Dave Beazley
765ad025b9 A lot of work on the type system. Experimental language module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-05 04:04:17 +00:00
Dave Beazley
3df14968ba Added type compare function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-03 04:36:14 +00:00
Dave Beazley
5227d6aa77 Some refinement of the type system
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-03 04:06:04 +00:00
Dave Beazley
fe75e326b9 Minor compile bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-28 03:36:27 +00:00
Dave Beazley
cd101fbba9 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-28 01:15:41 +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
905fb9b3b6 Slight tweak to copyright message in wrapper code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-17 21:14:11 +00:00
Dave Beazley
80ef5c04a4 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 18:58:14 +00:00
Dave Beazley
64ddf38c9a Minor fixes and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:23:47 +00:00
Dave Beazley
a2c6df383f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 18:05:49 +00:00
Dustin Mitchell
5eb27e2b74 Changed to catch up with new DOH version (removed scopes), and fixed a few
compiler warnings about unused variables.  Conflicts with ttn's modifications
were resolved in my favor.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 18:03:28 +00:00
Thien-Thi Nguyen
db9b55ba52 (Super_scope): Replace call to non-existent(?) `Setscope'
w/ a fprintf to stderr warning of `Super_scope' damage.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:11:30 +00:00
Thien-Thi Nguyen
f55be8b52f Include ctype.h as dependency.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:17:02 +00:00
Thien-Thi Nguyen
ea61f85774 (StringType_get_tag): Fix omission bug: Cast `DohMalloc()'
return value to `char *'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:16:37 +00:00
Dave Beazley
367bf346a0 Added banner.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:29:27 +00:00
Dave Beazley
88b7a1908c Added include directory.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:24:17 +00:00
Dave Beazley
6d6243e279 Added warning message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 22:48:42 +00:00
Dave Beazley
0b454425a4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 21:23:07 +00:00
Dave Beazley
eb5c026373 Added SwigWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 21:22:56 +00:00
Dave Beazley
166db98dbe Work in progress
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 04:32:11 +00:00
Dave Beazley
4c57dc5b56 Added SwigWrapper object.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 04:31:37 +00:00
Dave Beazley
c7e85821ed *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 03:59:54 +00:00
Dave Beazley
0313f7aa4b Rewrote.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-10 15:25:07 +00:00
Dave Beazley
9cfba9a811 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:47:51 +00:00
Dave Beazley
bd6fb3ab4a Cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:47:11 +00:00
Dave Beazley
a774679eaa Name cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:38:23 +00:00
Dave Beazley
1d9ab3c0cf Name cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:37:37 +00:00
Thien-Thi Nguyen
e618e1c5bf (NewString): Take DOH *' instead of char *'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-31 00:59:40 +00:00
Thien-Thi Nguyen
d5ce3c44af (NewString, String_check, List_check, Hash_check): For these function
declarations, constify arg to match ../DOH/Include/doh.h.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-31 00:57:18 +00:00
Dustin Mitchell
87cf7e1732 Cleaned up code to convert to/from the string representation; improved
string representation sufficiently that it now represents cleanly
everything that the DOH object representation can.  Comparison on DOH type
objects now tests only for complete equivalence of form, and should match
string comparison of string representations.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-16 02:53:57 +00:00
Dave Beazley
d6c4c39b26 Renamed string type encoding functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:58:52 +00:00
Dave Beazley
35d28e7517 Renamed to StringType functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:58:25 +00:00
Dave Beazley
89a7c985d8 Renamed my (bogus) string-based type encoding functions to
"StringType_<blah>" to avoid confusion with functions that operate on real types.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:57:47 +00:00