h2paspp can be used as a simple preprocessor for h2pas. It removes some of the constructs that h2pas has difficulties with. h2paspp reads one or more C header files and preprocesses them, writing the result to files with the same name as the originals as it goes along. It does not accept all preprocessed tokens of C, but takes care of the following preprocessor directives:
Defines the new symbol symbol. Note that macros are not supported.
The text following this directive is included if symbol is defined.
The text following this directive is included if symbol is defined.
The text following this directive is included if symbol is not defined.
Include directives are removed, unless the -I option was given, in which case the include file is included and written to the output file.
The symbol symbol is undefined.