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
  • C++ 43.4%
  • SWIG 27.6%
  • C 19.5%
  • Yacc 4.4%
  • M4 2.7%
  • Other 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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