2. Top Files
The entirety of orgparse is contained in a single header file.
Defining ORGPARSE_IMPLEMENTATION
will include the
functions and should only happen once per file.
Defining ORPARSE_TEST
will include the test program.
<<orgparse.h>>=
#ifndef ORGPARSE_H
#define ORGPARSE_H
<<typedefs>>
#ifdef ORGPARSE_IMPLEMENTATION
<<structs>>
#endif
<<funcdefs>>
#ifdef ORGPARSE_IMPLEMENTATION
<<static_funcdefs>>
<<functions>>
#endif
#ifdef ORGPARSE_TEST
<<test_program>>
#endif
#endif
prev | home | next