Masaki Fukushima
23520c19c0
missing newline
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-27 13:52:21 +00:00
Dave Beazley
c5bc01c898
Fixed infinite loop on enum.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 16:40:54 +00:00
Dave Beazley
8c1045407b
Changed enum handling to try and fix C++ enum handling bugs.
...
Any enum type is now explicitly reduced to an 'int' by SwigType_lstr() and
SwigType_ltype().
Also made a few modifications to the handling of 'const' keywords which
reduces the amount of casting.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:42:03 +00:00
Dave Beazley
1117997767
Fixed large file assertion problem. Not really a problem with large files, but rather an
...
extraneous Delete in the code to emit type-tables that didn't cause a problem except
in interfaces that had lots of types (and classes).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 02:18:45 +00:00
Dave Beazley
739be7912a
Added $typemap variable to typemaps. Feature request on mailing list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 01:51:33 +00:00
Dave Beazley
5821746d4d
Changes to support memberin typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 19:14:55 +00:00
Dave Beazley
5f1b257382
Fixed seg-fault with arrays.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 18:34:54 +00:00
Dave Beazley
3ef3086b5a
Changed _swig_type_info to swig_type_info
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Dave Beazley
2c58307c5e
Added new Swig_init function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:01:30 +00:00
Dave Beazley
d67ebf543e
Fixed naming generation problem for static C++ variables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:11:56 +00:00
Dave Beazley
b240e6dea8
Added Swig_string_mangle() function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:23:58 +00:00
Dave Beazley
f43bb6bf71
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@724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:13:28 +00:00
Matthias Köppe
96ab0c8fe2
(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@720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:38:46 +00:00
Dave Beazley
b2e1d63628
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@709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:46:54 +00:00
Dave Beazley
b746069e7d
Changed internal handling of string literals. Added new typemap specification syntax with strings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 20:15:08 +00:00
Dave Beazley
1459d38a19
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@698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 04:12:35 +00:00
Matthias Köppe
73ef2e5574
Fixed declaration of SwigType_typedef_resolve and
...
SwigType_typedef_resolve_all.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:27:15 +00:00
Matthias Köppe
0ebf3b7caa
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@688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:17:10 +00:00
Dave Beazley
abfdf2844d
Fixed default value problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 01:23:45 +00:00
Dave Beazley
99721047c2
Fixed const problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 00:30:49 +00:00
Dave Beazley
c7f9991461
Added missing return type to pointer conversion function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:44:10 +00:00
Dave Beazley
cbf9d44696
Fixed weird enum type-handling problem (maybe).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:36:43 +00:00
Dave Beazley
3f37a8fd6f
Lots of cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 05:08:26 +00:00
Dave Beazley
cbe8508865
Restored the Python module. Lots of minor fixes and cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 21:47:36 +00:00
Dave Beazley
c17ad6d71d
Bug fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:29:46 +00:00
Dave Beazley
b99e4ee2a8
Eliminated old typemap/except code. Variety of minor bug fixes throughout.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 18:29:23 +00:00
Dave Beazley
fa2942e77c
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@651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 22:09:56 +00:00
Dave Beazley
d209bc3b70
Various work on new type system
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-11 20:48:58 +00:00
Dave Beazley
ef5e8a5b09
SWIG no longer generates temporary files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-11 16:34:31 +00:00
Dave Beazley
5a477eef50
Converted parameter lists to linked lists
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 18:37:30 +00:00
Dave Beazley
8a5b42500d
Minor changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 00:12:49 +00:00
Dave Beazley
27eee69dbd
Various cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-07 21:18:24 +00:00
Dave Beazley
c738c6c639
Finished removal of all public attributes of types.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 16:36:43 +00:00
Dave Beazley
f244b7cde8
Hid the name and is_reference attributes of types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 04:01:14 +00:00
Dave Beazley
4230cc4162
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@609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-25 04:02:31 +00:00
Dave Beazley
6bc7b11a9b
Cleanup. Replaced Parm and ParmList data structures with new implementation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 21:48:56 +00:00
Dave Beazley
ccbe7d8213
Added cwrap.c file that contains a variety of wrapper function support code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:54:02 +00:00
Dave Beazley
cc46a46b6d
More work on smoothing out the type system. Needs more work however.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-23 04:43:39 +00:00
Dave Beazley
22662ce490
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@588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:26:17 +00:00
Thien-Thi Nguyen
96e1b52606
(DelParmList): Fix bug: Handle NULL input.
...
Thanks to Matthias Koeppe.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-17 18:29:10 +00:00
Dave Beazley
f77eea732d
Some API changes to DataType
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-14 21:37:34 +00:00
Dave Beazley
18d39ded19
Fixed Wrapper_new_local() function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 23:09:23 +00:00
Dave Beazley
c780f4bcf4
Moved parms and types to C. Changed parameter API
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 19:38:59 +00:00
Dave Beazley
ea8496bd99
Fixed the pretty-printing code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 15:04:08 +00:00
Dave Beazley
6242ed773b
Removed the WrapperFunction class entirely. Everything uses the C version.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 21:52:58 +00:00
Dave Beazley
1eeae0ffcb
Work in progress
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 21:23:29 +00:00
Dave Beazley
b3cc0723f5
More improvements to types and related code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 04:20:33 +00:00
Dave Beazley
2eacae1400
A lot of work on the type system. Experimental language module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-05 04:04:17 +00:00
Dave Beazley
398e53b89e
Added type compare function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-03 04:36:14 +00:00
Dave Beazley
7c984700de
Some refinement of the type system
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-03 04:06:04 +00:00