Pyrogenesis  trunk
Macros | Functions
Preprocessor.cpp File Reference
#include "precompiled.h"
#include "Preprocessor.h"
#include "ps/CLogger.h"
Include dependency graph for Preprocessor.cpp:

Macros

#define MAX_MACRO_ARGS   16
 
#define IS_DIRECTIVE(s)   ((dirlen == sizeof (s) - 1) && (strncmp (directive, s, sizeof (s) - 1) == 0))
 

Functions

static size_t ClosestPow2 (size_t x)
 Return closest power of two not smaller than given number. More...
 
static void DefaultError (void *iData, int iLine, const char *iError, const char *iToken, size_t iTokenLen)
 

Macro Definition Documentation

#define IS_DIRECTIVE (   s)    ((dirlen == sizeof (s) - 1) && (strncmp (directive, s, sizeof (s) - 1) == 0))
#define MAX_MACRO_ARGS   16

Function Documentation

static size_t ClosestPow2 ( size_t  x)
static

Return closest power of two not smaller than given number.

static void DefaultError ( void *  iData,
int  iLine,
const char *  iError,
const char *  iToken,
size_t  iTokenLen 
)
static