48 #define MHEG5FALSE (0) 49 #define MHEG5TRUE (-1) 52 #define MHEG5strncmp(a, b, n) strncmp((char *)a, (char *)b, n) 56 #define MHEG5strcmp(a, b) strcmp((char *)a, (char *)b) 59 #define INVALID_GRP_REF 0 61 #define MHEG5colourInit MHEG5genericSet 62 #define MHEG5colourDestruct MHEG5genericDestruct 265 #define MHEG5stringCopy(s) MHEG5stringCopyFunc(s, __LINE__) 324 TCHAR* StrToUnicode(
char *
string);
325 char* StrFromUnicode(TCHAR *
string);
332 void MHEG5classPrint(
MHEG5Final class,
char *out);
333 void MHEG5indent(
char *out);
334 int MHEG5setIndent(
int i);
335 void MHEG5incIndent(
void);
336 void MHEG5decIndent(
void);
337 void MHEG5newLine(
char *out);
339 #define MHEG_PRINT(out, str) STB_DebugLogPrintf(str) 340 #define MHEG5intPrint(i, out) STB_DebugLogPrintf("%ld", i) 341 #define MHEG5hexPrint(i, out) STB_DebugLogPrintf("%#x", i) 344 #if defined(MHEG5LOG) || defined(MH5PRINTOUT) 348 void MHEG5boolPrint(
MHEG5Bool b,
char *out);
352 void MHEG5cListPrint(
MHEG5GList *l,
char *out);
353 void MHEG5sdListPrint(
MHEG5GList *l,
char *out);
354 void MHEG5clrListPrint(
MHEG5GList *l,
char *out);
358 extern int extra_trace_param;
unsigned long MHEG5random(void)
Calculate and return a psuedo random number.
MHEG5GList * MHEG5gListCopy(MHEG5GList *list)
Copy a list of MHEG5Generic objects.
Define MHEG5 String type.
MHEG5Bool MHEG5stringEqual(MHEG5String *s1, MHEG5String *s2)
Compare two Strings (case sensitive!)
struct sMHEG5String MHEG5String
void MHEG5genericSet(MHEG5Generic *item, MHEG5Int initialValue)
Set a MHEG5Generic to the MHEG5Int value.
struct sMHEG5Group * MH5GroupPtr
struct SMHEG5IntPair MHEG5IntPair
void MHEG5genericCopy(MHEG5Generic *dest, MHEG5Generic *src)
Copy a MHEG5Generic.
MHEG5Int MHEG5strToInt(MHEG5String string)
Convert a MHEG5String to a MHEG5Integer.
MHEG5Bool MHEG5genericEqual(MHEG5Generic *g1, MHEG5Generic *g2)
Compare two generic Variables.
MHEG5String MHEG5stringCopy(MHEG5String source)
<Function description>="">
char * MHEG5safeStrcat(char *dest, size_t destLength, const char *source)
Perform a standard strcat restricted to the length of the destination. The dest string will always be...
void MHEG5stringDestruct(MHEG5String *item)
Destruct a MHEG5String.
void MHEG5gListDestruct(MHEG5GList *item)
Destruct a list of MHEG5Generic objects.
struct sMHEG5ObjectReference MHEG5ObjectReference
struct sMH5GroupRef MH5GroupRef
struct sParamList ParamList
MHEG5String MHEG5stringCat(MHEG5String string1, MHEG5String string2)
Concatenate two MHEG5Strings.
MHEG5String MHEG5intToStr(MHEG5Int i)
Convert MHEG5Int to MHEG5String.
struct sMHEG5GList MHEG5GList
void MHEG5genericDestruct(MHEG5Generic *item)
Destruct a MHEG5Generic.
#define MHEG5strncmp(a, b, n)
System Wide Global Technical Data Type Definitions.
MHEG5String MHEG5stringCopyChr(const char *source)
Copy the C-String source to a MHEG5String.
struct sMHEG5FontBody MHEG5FontBody
#define MHEG5strcmp(a, b)
struct sMHEG5GList * next