com.jogamp.gluegen.pcpp
Class PCPP
java.lang.Object
com.jogamp.gluegen.pcpp.PCPP
public class PCPP
- extends Object
A minimal pseudo-C-preprocessor designed in particular to preserve
#define statements defining constants so they can be observed by a
glue code generator.
Constructor Summary |
PCPP(List<String> includePaths,
boolean debug,
boolean copyOutput2Stderr)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PCPP
public PCPP(List<String> includePaths,
boolean debug,
boolean copyOutput2Stderr)
run
public void run(Reader reader,
String filename)
throws IOException
- Throws:
IOException
findFile
public String findFile(String filename)
out
public OutputStream out()
setOut
public void setOut(OutputStream out)
addDefine
public void addDefine(String name,
String value)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException