engine/source/preprocessorlib/pp_parser.c
/**
 * Returns true if the given name is the name of a currently defined macro,
 * false otherwise.
 */
Returns true if the given name is the name of a currently defined macro,
false otherwise.
Returns true if the given name is the name of a currently defined macro false otherwise .
bool pp_parser_is_defined(pp_parser *self, const char *name)
{
    if(List_FindByName(&self->ctx->macros, name) ||
            List_FindByName(&self->ctx->func_macros, name) ||
            pp_is_builtin_macro(name))
    {
        return true;
    }
    return false;
}
bool pp_parser_is_defined ( pp_parser * self , const char * name ) { if ( List_FindByName ( & self -> ctx -> macros , name ) || List_FindByName ( & self -> ctx -> func_macros , name ) || pp_is_builtin_macro ( name ) ) { return true ; } return false ; }
Returns true if the given name is the name of a currently defined macro,
 false otherwise.
Returns true if the given name is the name of a currently defined macro false otherwise .