![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
![]() [Introduction] [Overview] [Core reference] [3D reference] [GUI] IndexEMalloc ECalloc ERealloc EFree EStrLenW16 EStrLenW EStrLenW16Unaligned EStrLenW32Unaligned EStrDup EStrDupLine EStrDupU EStrNDup EStrDupW16 EStrDupW EStrDup8toW EStrDupWto8 EStrDupSuffix EMallocAllocate memorySyntax Argument Description Allocates a block of memory. The size is given in bytes. Return value Pointer to the allocated memory block or NULL in case of an error. See also ECallocAllocate memorySyntax Argument Description Allocates a block of memory. The size is given in bytes. Return value Pointer to the allocated memory block or NULL in case of an error. See also EReallocReallocate memorySyntax Arguments Description Re-allocates a block of memory. The new size is given in bytes. If the starting address of the new block differs from the old, ERealloc will copy the overlapping area over to the new address. Return value Pointer to the re-allocated memory block or NULL in case of an error. See also EFreeFree allocated memory blockSyntax Arguments Description Frees memory allocated by EMalloc or ERealloc. Return value None. See also EStrLenW16Get the length of a 0-terminated wide-character stringSyntax Argument Description Return the number of characters in PStr, not including the terminating zero. Return value The number of characters in PString. See also EStrLenWGet the length of a 0-terminated wide-character stringSyntax Argument Description Return the number of characters in PStr, not including the terminating zero. Return value The number of characters in PString. See also EStrLenW16UnalignedGet the length of a 0-terminated, 2-byte wide-character stringSyntax Argument Description Return the number of characters in PStr, not including the terminating zero. Return value The number of characters in PString. The input data may not be aligned to an address divisible by 2. This is useful when reading or skipping wide character strings in a file. See also EStrLenW32UnalignedGet the length of a 0-terminated, 4-byte wide-character stringSyntax Argument Description Return the number of characters in PStr, not including the terminating zero. Return value The number of characters in PString. The input data may not be aligned to an address divisible by 2. This is useful when reading or skipping wide character strings in a file. See also EStrDupDuplicate a char* stringSyntax Argument Description Allocates enough memory and makes a copy of a string. Return value Pointer to the copy of LString or NULL in case of an error. See also EStrDupLineDuplicate a char* stringSyntax Argument Description Allocates enough memory and makes a copy of a string. Return value Pointer to the copy of LString or NULL in case of an error. See also EStrDupUDuplicate a uint8_t* stringSyntax Argument Description Allocates enough memory and makes a copy of a string. Return value Pointer to the copy of LString or NULL in case of an error. See also EStrNDupDuplicate string. The length is explicitly specifiedSyntax Argument Description Allocates enough memory and makes a copy of a string. The string doesn't need to be null-terminated. Return value Pointer to the copy of LString or NULL in case of an error. See also EStrDupW16Duplicate wide-character stringSyntax Argument Description Allocates enough memory and makes a copy of a string. Return value Pointer to the copy of LString or NULL in case of an error. See also EStrDupWDuplicate wide-character stringSyntax Argument Description Allocates enough memory and makes a copy of a string. Return value Pointer to the copy of LString or NULL in case of an error. See also EStrDup8toWDuplicate an 8-bit string into wide-character formatSyntax Argument Description Allocates enough memory and makes a copy of a string. Return value Pointer to the copy of PString or NULL in case of an error. See also EStrDupWto8Duplicate a wide-character string into 8-bit formatSyntax Argument Description Allocates enough memory and makes a copy of a string. Return value Pointer to the copy of PString or NULL in case of an error. See also EStrDupSuffixDuplicate string and add suffixSyntax Argument Description Allocates enough memory and makes a copy of a string with a suffix added. It's essentially like strcat, but with allocation. Return value Pointer to the copy of LString or NULL in case of an error. See also |