CPP: Devel CPP Reference Manual

## CPP CPP |

## Functions

int | cpp_define_add ()
char const * | cpp_define_get ()
int | cpp_define_remove ()
void | cpp_delete ()
char const * | cpp_get_filename ()
Cpp * | cpp_new ()
Cpp * | cpp_new_string ()
int | cpp_path_add ()
int | cpp_scan ()

## Types and Values

#define | CPP_CODE_COUNT
#define | CPP_CODE_LAST
#define | CPP_CODE_META_FIRST
#define | CPP_CODE_META_LAST
| Cpp
enum | CppCode
enum | CppFilter
enum | CppOption

## Description

## Functions

### cpp_define_add ()

    int
    cpp_define_add (Cpp *cpp,
                    char const *name,
                    char const *value);

### cpp_define_get ()

    char const *
    cpp_define_get (Cpp *cpp,
                    char const *name);

### cpp_define_remove ()

    int
    cpp_define_remove (Cpp *cpp,
                       char const *name);

### cpp_delete ()

    void
    cpp_delete (Cpp *cpp);

### cpp_get_filename ()

    char const *
    cpp_get_filename (Cpp *cpp);

### cpp_new ()

    Cpp *
    cpp_new (CppPrefs *prefs);

### cpp_new_string ()

    Cpp *
    cpp_new_string (CppPrefs *prefs,
                    char const *string);

### cpp_path_add ()

    int
    cpp_path_add (Cpp *cpp,
                  char const *path);

### cpp_scan ()

    int
    cpp_scan (Cpp *cpp,
              Token **token);

## Types and Values

### CPP_CODE_COUNT

    # define CPP_CODE_COUNT		(CPP_CODE_LAST + 1)

### CPP_CODE_LAST

    # define CPP_CODE_LAST		CPP_CODE_UNKNOWN

### CPP_CODE_META_FIRST

    # define CPP_CODE_META_FIRST CPP_CODE_META_DATA

### CPP_CODE_META_LAST

    # define CPP_CODE_META_LAST CPP_CODE_META_WARNING

### Cpp

    typedef struct _Cpp Cpp;

### enum CppCode

#### Members

CPP_CODE_NULL |  |
CPP_CODE_COMMA |  |
CPP_CODE_DQUOTE |  |
CPP_CODE_META_DATA |  |
CPP_CODE_META_DEFINE |  |
CPP_CODE_META_ELIF |  |
CPP_CODE_META_ELSE |  |
CPP_CODE_META_ENDIF |  |
CPP_CODE_META_ERROR |  |
CPP_CODE_META_IF |  |
CPP_CODE_META_IFDEF |  |
CPP_CODE_META_IFNDEF |  |
CPP_CODE_META_INCLUDE |  |
CPP_CODE_META_PRAGMA |  |
CPP_CODE_META_UNDEF |  |
CPP_CODE_META_WARNING |  |
CPP_CODE_OPERATOR_AEQUALS |  |
CPP_CODE_OPERATOR_AMPERSAND |  |
CPP_CODE_OPERATOR_BAR |  |
CPP_CODE_OPERATOR_BEQUALS |  |
CPP_CODE_OPERATOR_COLON |  |
CPP_CODE_OPERATOR_DAMPERSAND |  |
CPP_CODE_OPERATOR_DBAR |  |
CPP_CODE_OPERATOR_DEQUALS |  |
CPP_CODE_OPERATOR_DGEQUALS |  |
CPP_CODE_OPERATOR_DGREATER |  |
CPP_CODE_OPERATOR_DHASH |  |
CPP_CODE_OPERATOR_DIVEQUALS |  |
CPP_CODE_OPERATOR_DIVIDE |  |
CPP_CODE_OPERATOR_DLEQUALS |  |
CPP_CODE_OPERATOR_DLESS |  |
CPP_CODE_OPERATOR_DMINUS |  |
CPP_CODE_OPERATOR_DOT |  |
CPP_CODE_OPERATOR_DOTDOTDOT |  |
CPP_CODE_OPERATOR_DPLUS |  |
CPP_CODE_OPERATOR_EQUALS |  |
CPP_CODE_OPERATOR_GEQUALS |  |
CPP_CODE_OPERATOR_GREATER |  |
CPP_CODE_OPERATOR_HASH |  |
CPP_CODE_OPERATOR_LBRACE |  |
CPP_CODE_OPERATOR_LBRACKET |  |
CPP_CODE_OPERATOR_LEQUALS |  |
CPP_CODE_OPERATOR_LESS |  |
CPP_CODE_OPERATOR_LPAREN |  |
CPP_CODE_OPERATOR_MEQUALS |  |
CPP_CODE_OPERATOR_MGREATER |  |
CPP_CODE_OPERATOR_MINUS |  |
CPP_CODE_OPERATOR_MODEQUALS |  |
CPP_CODE_OPERATOR_MODULO |  |
CPP_CODE_OPERATOR_NEQUALS |  |
CPP_CODE_OPERATOR_NOT |  |
CPP_CODE_OPERATOR_PEQUALS |  |
CPP_CODE_OPERATOR_PLUS |  |
CPP_CODE_OPERATOR_QUESTION |  |
CPP_CODE_OPERATOR_RBRACE |  |
CPP_CODE_OPERATOR_RBRACKET |  |
CPP_CODE_OPERATOR_RPAREN |  |
CPP_CODE_OPERATOR_SEMICOLON |  |
CPP_CODE_OPERATOR_TEQUALS |  |
CPP_CODE_OPERATOR_TILDE |  |
CPP_CODE_OPERATOR_TIMES |  |
CPP_CODE_OPERATOR_XEQUALS |  |
CPP_CODE_OPERATOR_XOR |  |
CPP_CODE_SQUOTE |  |
CPP_CODE_WHITESPACE |  |
CPP_CODE_NEWLINE |  |
CPP_CODE_COMMENT |  |
CPP_CODE_WORD |  |
CPP_CODE_UNKNOWN |  |

### enum CppFilter

#### Members

CPP_FILTER_NONE |  |
CPP_FILTER_TRIGRAPH |  |
CPP_FILTER_WHITESPACE |  |
CPP_FILTER_COMMENT |  |

### enum CppOption

#### Members

CPP_OPTION_NONE |  |
CPP_OPTION_IGNORE_META |  |