h2paspp can be used as a simple preprocessor for h2pas. It removes some of the constructs that
h2pas has di culties with. h2paspp reads one or more C header les and preprocesses them,
writing the result to les with the same name as the originals as it goes along. It does
not accept all preprocesser tokens of C, but takes care of the following preprocessor
directives:
#de ne symbol
De nes the new symbol symbol. Note that macros are not supported.
#if symbol
The text following this directive is included if symbol is de ned.
#ifdef symbol
The text following this directive is included if symbol is de ned.
#ifndef symbol
The text following this directive is included if symbol is not de ned.
#include lename
Include directives are removed, unless the -I option was given, in which
case the include le is included and written to the output le.