Commit graph

25 commits

Author SHA1 Message Date
Marcelo Matus
2cbcd0abc6 manage the labels as fail:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:36:01 +00:00
Marcelo Matus
cc9f9be00f small cosmetic change to manage parentesis () closed in different lines, and make compact mode more compact
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 12:18:31 +00:00
Dave Beazley
f9cb6b08e5 Minor tweak.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 17:42:24 +00:00
Dave Beazley
77b5b6623e Fixed [ 723471 ] Wrapper_print() fails with preprocessor directives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 19:29:49 +00:00
Dave Beazley
5393751256 Fixed comment problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:12:54 +00:00
Tiger Feng
c48043e47c modified -fcompact feature to deal with PP lines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 18:26:29 +00:00
Tiger Feng
2c2bb2522f Add -compact option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 17:17:14 +00:00
Dave Beazley
516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
8806918a6d Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-18 02:56:05 +00:00
Dave Beazley
267beb814f Major reworking of the Wrapper object. It is now a DOH object.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-11-22 23:14:01 +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
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
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
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
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
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
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
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
fe89f85915 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 21:23:07 +00:00
Dave Beazley
23fc1040cf Work in progress
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 04:32:11 +00:00