Lhogho  0.0.027
Defines | Typedefs
globals.h File Reference

Defines

#define Z   printf("--- %s() in %s:%d---\n",__FUNCTION__,__FILE__,__LINE__)

Typedefs

typedef void(* outter_t )(chars_t, int)
 Functional-typedef for dump/dumpln functions.
typedef char_t(* inner_t )(void)
 Functional-typedef for input functions.
typedef int(* inner_eof_t )(void)
 Functional-typedef for input functions.

Build options

#define SAFEMODE
 full error checking
#define UNICODE_CHARS
 use UTF-16LE for internal data
#define ADVANCED
 include features needed for development

Debug options

Defined debug symbols. When some of them is defined the compilation contains code to dump related functions. To define a symbol remove the no prefix from its name

#define noDEBUG_POOL
 remove no prefix to debug pool functions
#define noDEBUG_HEAP
 remove no prefix to debug heap functions
#define noDEBUG_ATOM
 remove no prefix to debug atom functions
#define noDEBUG_VAR
 debug var functions
#define noDEBUG_TOKENS
 debug token generation
#define noDEBUG_LIST_FLAGS
 debug flags of list nodes
#define noDEBUG_LIST_TOKEN_FLAGS
 debug token flags of list nodes
#define noDEBUG_REF_COUNT
 dump ref counts for each atom
#define noDEBUG_TOKENIZATION
 debug grouping tokens in lists
#define noDEBUG_PARENTHESES
 debug parsing parenthesis
#define noDEBUG_PARSE
 debug parsing
#define noDEBUG_TO_END
 debug TO...END processing
#define noDEBUG_COMPILE
 debug compilation process
#define noDEBUG_FIND_VAR
 debug syntax-scope find var
#define noDEBUG_FIND_RUNTIME_VAR
 debug runtime searching of vars
#define noDEBUG_RUNTIME_ATOMS
 debug atoms during run time
#define noDEBUG_COMPILETIME_ATOMS
 debug atoms during compilation time
#define DEBUG_CLEAR_FREED_MEM
 clear (with 0xFF) all freed atoms
#define noDEBUG_MEMORY_LEAKS
 dumps all unfreed atoms

Platform defines

Platform-specific macros. Currently supported are: 32-bit Intel Pentium for Windows, Linux and Mac OS X

#define UNSUPPORTED_COMPILER

Lhogho datatypes

typedef double float64_t
typedef float float32_t
typedef unsigned char byte_t
typedef unsigned short ushort_t
typedef int int_t
typedef unsigned int uint_t
typedef voidptr_t
typedef byte_tbytes_t
typedef void(* fn )()
typedef wchar_t char_t
typedef wchar_t * chars_t

Define Documentation

#define SAFEMODE
#define UNICODE_CHARS
#define ADVANCED
#define noDEBUG_POOL
#define noDEBUG_HEAP
#define noDEBUG_ATOM
#define noDEBUG_VAR
#define noDEBUG_TOKENS
#define noDEBUG_PARSE
#define noDEBUG_TO_END
#define noDEBUG_COMPILE
#define Z   printf("--- %s() in %s:%d---\n",__FUNCTION__,__FILE__,__LINE__)

Typedef Documentation

typedef double float64_t
typedef float float32_t
typedef unsigned char byte_t
typedef unsigned short ushort_t
typedef int int_t
typedef unsigned int uint_t
typedef void* ptr_t
typedef byte_t* bytes_t
typedef void(* fn)()
typedef wchar_t char_t
typedef wchar_t* chars_t
void(* outter_t)(chars_t, int)

A functional type definition used as a pattern for all private atom outters like use_stdout.

A functional type definition used as a pattern for all inners like use_stdin.

int(* inner_eof_t)(void)

A functional type definition used as a pattern for all inner_eofs.


[ HOME | INDEX | ATOMS | VARS | REFERENCE ]
Lhogho Developer's Documentation
Tue Feb 7 2012