![]()  | 
  
    MHEG5
    22.3.0
    
   | 
 
Implement basic functions for the MHEG5 defined basic data types. More...
#include "mh5memory.h"#include "mh5base.h"#include "mh5debug.h"#include "stb_os.h"#include <string.h>#include <stdlib.h>Functions | |
| MHEG5String | MHEG5stringCopy (MHEG5String source) | 
| <Function description>="">  More... | |
| MHEG5String | MHEG5stringCopyChr (const char *source) | 
| Copy the C-String source to a MHEG5String.  More... | |
| MHEG5String | MHEG5stringCat (MHEG5String source1, MHEG5String source2) | 
| Concatenate two MHEG5Strings.  More... | |
| void | MHEG5stringDestruct (MHEG5String *item) | 
| Destruct a MHEG5String.  More... | |
| MHEG5Bool | MHEG5stringEqual (MHEG5String *s1, MHEG5String *s2) | 
| Compare two Strings (case sensitive!)  More... | |
| MHEG5Int | MHEG5strToInt (MHEG5String string) | 
| Convert a MHEG5String to a MHEG5Integer.  More... | |
| MHEG5String | MHEG5intToStr (MHEG5Int i) | 
| Convert MHEG5Int to MHEG5String.  More... | |
| void | MHEG5genericDestruct (MHEG5Generic *item) | 
| Destruct a MHEG5Generic.  More... | |
| void | MHEG5genericCopy (MHEG5Generic *dest, MHEG5Generic *src) | 
| Copy a MHEG5Generic.  More... | |
| MHEG5Bool | MHEG5genericEqual (MHEG5Generic *g1, MHEG5Generic *g2) | 
| Compare two generic Variables.  More... | |
| void | MHEG5gListDestruct (MHEG5GList *item) | 
| Destruct a list of MHEG5Generic objects.  More... | |
| MHEG5GList * | MHEG5gListCopy (MHEG5GList *list) | 
| Copy a list of MHEG5Generic objects.  More... | |
| void | MHEG5genericSet (MHEG5Generic *item, MHEG5Int initialValue) | 
| Set a MHEG5Generic to the MHEG5Int value.  More... | |
| U32BIT | MHEG5random (void) | 
| Calculate and return a psuedo random number.  More... | |
| 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 null terminated.  More... | |
Implement basic functions for the MHEG5 defined basic data types.
| void MHEG5genericCopy | ( | MHEG5Generic * | dest, | 
| MHEG5Generic * | src | ||
| ) | 
| void MHEG5genericDestruct | ( | MHEG5Generic * | item | ) | 
| MHEG5Bool MHEG5genericEqual | ( | MHEG5Generic * | g1, | 
| MHEG5Generic * | g2 | ||
| ) | 
Compare two generic Variables.
| MHEG5Generic | * g1 | 
| MHEG5Generic | * g2 | 
| void MHEG5genericSet | ( | MHEG5Generic * | item, | 
| MHEG5Int | initialValue | ||
| ) | 
Set a MHEG5Generic to the MHEG5Int value.
| MHEG5Generic | * item | 
| MHEG5Int | initialValue | 
| MHEG5GList* MHEG5gListCopy | ( | MHEG5GList * | list | ) | 
Copy a list of MHEG5Generic objects.
| MHEG5GList | *list | 
| void MHEG5gListDestruct | ( | MHEG5GList * | item | ) | 
| MHEG5String MHEG5intToStr | ( | MHEG5Int | i | ) | 
Convert MHEG5Int to MHEG5String.
| MHEG5Int | i | 
| U32BIT MHEG5random | ( | void | ) | 
Calculate and return a psuedo random number.
| 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 null terminated.
| dest | Destination to concatenate string to. | 
| destLength | Maximum length of the destination string, including null termination. | 
| source | Null terminated string to concatenate with the destination. | 
| MHEG5String MHEG5stringCat | ( | MHEG5String | source1, | 
| MHEG5String | source2 | ||
| ) | 
Concatenate two MHEG5Strings.
| MHEG5String | source1 | 
| MHEG5String | source2 | 
| MHEG5String MHEG5stringCopy | ( | MHEG5String | source | ) | 
<Function description>="">
| MHEG5String | source | 
| MHEG5String MHEG5stringCopyChr | ( | const char * | source | ) | 
Copy the C-String source to a MHEG5String.
| char | *source | 
| void MHEG5stringDestruct | ( | MHEG5String * | item | ) | 
Destruct a MHEG5String.
| MHEG5String | item | 
| MHEG5Bool MHEG5stringEqual | ( | MHEG5String * | s1, | 
| MHEG5String * | s2 | ||
| ) | 
Compare two Strings (case sensitive!)
| MHEG5String | s1 | 
| MHEG5String | s2 | 
| MHEG5Int MHEG5strToInt | ( | MHEG5String | string | ) | 
Convert a MHEG5String to a MHEG5Integer.
| MHEG5String | string | 
 1.8.11