runPreprocessor

Run the C preprocessor.

int
runPreprocessor
(
const(char)[] cpp
,
const(char)[] filename
,
const(char)* importc_h
,
ref Array!(const(char)*) cppswitches
,
const(char)[] output
,)

Parameters

cpp const(char)[]

name of C preprocessor program

filename const(char)[]

C source file name

importc_h const(char)*

filename of importc.h

cppswitches Array!(const(char)*)

array of switches to pass to C preprocessor

output const(char)[]

preprocessed output file name

defines OutBuffer*

buffer to append any #define and #undef lines encountered to

Return Value

Type: int

exit status.

Meta