Lhogho  0.0.028
 All Data Structures Files Functions Variables Typedefs Macros Pages
globals.h File Reference

Go to the source code of this file.

Macros

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

Typedefs

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

Build options

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

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

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
 

Macro Definition Documentation

#define SAFEMODE

Definition at line 57 of file globals.h.

#define UNICODE_CHARS

Definition at line 58 of file globals.h.

#define ADVANCED

Definition at line 59 of file globals.h.

#define noDEBUG_POOL

Definition at line 71 of file globals.h.

#define noDEBUG_HEAP

Definition at line 72 of file globals.h.

#define noDEBUG_ATOM

Definition at line 73 of file globals.h.

#define noDEBUG_ATOM_LIST

Definition at line 74 of file globals.h.

#define noDEBUG_VAR

Definition at line 75 of file globals.h.

#define noDEBUG_TOKENS

Definition at line 76 of file globals.h.

#define noDEBUG_LIST_FLAGS

Definition at line 77 of file globals.h.

#define noDEBUG_LIST_TOKEN_FLAGS

Definition at line 78 of file globals.h.

#define noDEBUG_REF_COUNT

Definition at line 79 of file globals.h.

#define noDEBUG_TOKENIZATION

Definition at line 80 of file globals.h.

#define noDEBUG_PARENTHESES

Definition at line 81 of file globals.h.

#define noDEBUG_PARSE

Definition at line 82 of file globals.h.

#define noDEBUG_TO_END

Definition at line 83 of file globals.h.

#define noDEBUG_COMPILE

Definition at line 84 of file globals.h.

#define noDEBUG_FIND_VAR

Definition at line 85 of file globals.h.

#define noDEBUG_FIND_RUNTIME_VAR

Definition at line 86 of file globals.h.

#define noDEBUG_RUNTIME_ATOMS

Definition at line 87 of file globals.h.

#define noDEBUG_COMPILETIME_ATOMS

Definition at line 88 of file globals.h.

#define DEBUG_CLEAR_FREED_MEM

Definition at line 89 of file globals.h.

#define noDEBUG_MEMORY_LEAKS

Definition at line 90 of file globals.h.

#define UNSUPPORTED_COMPILER

Definition at line 130 of file globals.h.

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

Definition at line 175 of file globals.h.

#define NULL   0

Definition at line 212 of file globals.h.

#define __USE_ISOC99

Definition at line 217 of file globals.h.

Typedef Documentation

typedef double float64_t

Definition at line 155 of file globals.h.

typedef float float32_t

Definition at line 156 of file globals.h.

typedef unsigned char byte_t

Definition at line 158 of file globals.h.

typedef unsigned short ushort_t

Definition at line 159 of file globals.h.

typedef int int_t

Definition at line 160 of file globals.h.

typedef unsigned int uint_t

Definition at line 161 of file globals.h.

typedef void* ptr_t

Definition at line 162 of file globals.h.

typedef byte_t* bytes_t

Definition at line 163 of file globals.h.

typedef void(* fn)()

Definition at line 164 of file globals.h.

typedef wchar_t char_t

Definition at line 167 of file globals.h.

typedef wchar_t* chars_t

Definition at line 168 of file globals.h.

void(* outter_t)(chars_t, int)

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

Definition at line 184 of file globals.h.

char_t(* inner_t)(void)

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

Definition at line 195 of file globals.h.

int(* inner_eof_t)(void)

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

Definition at line 206 of file globals.h.


[ HOME | INDEX | ATOMS | VARS | REFERENCE ]
Lhogho Developer's Documentation
Wed Jul 10 2013