Dave Beazley
1bdc09434b
Fixed naming generation problem for static C++ variables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:11:56 +00:00
Dave Beazley
6de4c96f1f
Added Swig_string_mangle() function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:23:58 +00:00
Dave Beazley
74e66964cc
Modified to include a nice typename as part of the _swig_type_info structure.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:13:28 +00:00
Matthias Köppe
b8b42a3598
(SwigType_str, SwigType_lstr, SwigType_rcaststr, SwigType_lcaststr)
...
Constified prototypes, enabling build with Solaris c++.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:38:46 +00:00
Dave Beazley
1c60e6bfbe
Made it so language modules can specify a file to process before anything else (for typemaps). Also fixed line-numbering problem in main.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:46:54 +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
431a344bad
Modified to follow typedefs when resolving typemaps. Slight modifications
...
to typemap registration code to make %apply directive work better.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 04:12:35 +00:00
Matthias Köppe
1e34234a9f
Fixed declaration of SwigType_typedef_resolve and
...
SwigType_typedef_resolve_all.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:27:15 +00:00
Matthias Köppe
17692a2ef0
The pretty printer gets confused by comments including unbalanced
...
single or double quotes, like in this interface file:
-------------
%typemap(perl5, check) size_t *SIZE_T_VECTORINOUT
{
/* NEXT LINE AND REST OF WRAPPER WILL BE MISSING. */
/* Do nothing (don't check for NULL pointer) */
}
void x(size_t *SIZE_T_VECTORINOUT);
-------------
The code tries to find the end of the character/string constant. When
it reaches EOF, nothing will get emitted because no \n is seen.
This is a change to emit the last line of a string. But the pretty
printer probably should be fixed to handle comments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:17:10 +00:00
Dave Beazley
446aabeffd
Fixed default value problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 01:23:45 +00:00
Dave Beazley
7bc2b85464
Fixed const problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 00:30:49 +00:00
Dave Beazley
69da5bc213
Added missing return type to pointer conversion function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:44:10 +00:00
Dave Beazley
cc0d9475bf
Fixed weird enum type-handling problem (maybe).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:36:43 +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
fb7bd0ca36
Bug fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:29:46 +00:00
Dave Beazley
503746e964
Eliminated old typemap/except code. Variety of minor bug fixes throughout.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 18:29:23 +00:00
Dave Beazley
0d5ed7dff5
Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 22:09:56 +00:00
Dave Beazley
76cadce589
Various work on new type system
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-11 20:48:58 +00:00
Dave Beazley
752855600f
SWIG no longer generates temporary files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-11 16:34:31 +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
9b62acf02c
Minor changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 00:12:49 +00:00
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