SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. http://www.swig.org
Find a file
Dave Beazley 3c763c92e0 Modified the preprocessor to allow identifiers to start with "%". This is highly experimental
(I may take it out), but I have this idea that you might be able to create new SWIG directives
as C preprocessor macros.

For example:

#define %check(type) %typemap(check) type

%check(int positive) {
   if ($source < 0) error("hey, what's with this?");
}

(In reality, I think that this feature may allow me to reduce the parser to a smaller
set of more primitive directives that will simplify some of the code maintenance).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 03:00:55 +00:00
SWIG Modified the preprocessor to allow identifiers to start with "%". This is highly experimental 2000-09-26 03:00:55 +00:00
swigweb *** empty log message *** 2000-09-23 02:44:01 +00:00