Mount Fuji Engine  0.8b
Data Structures | Functions
String Cache

Data Structures

struct  MFStringCache
 Represents a Fuji String Cache. More...
 
struct  MFWStringCache
 Represents a Fuji Unicode String Cache. More...
 

Functions

MF_API MFStringCacheMFStringCache_Create (size_t maxSize)
 Create a string cache. More...
 
MF_API void MFStringCache_Destroy (MFStringCache *pCache)
 Destroy a string cache. More...
 
MF_API void MFStringCache_Clear (MFStringCache *pCache)
 Clear a string cache. More...
 
MF_API const char * MFStringCache_Add (MFStringCache *pCache, const char *pNewString)
 Add a string to a string cache. More...
 
MF_API char * MFStringCache_GetCache (MFStringCache *pCache)
 Get a pointer to the cache memory. More...
 
MF_API size_t MFStringCache_GetSize (MFStringCache *pCache)
 Get the actual used size of a string cache. More...
 
MF_API void MFStringCache_SetSize (MFStringCache *pCache, size_t used)
 Set the number of bytes used in a string cache. More...
 
MF_API MFWStringCacheMFWStringCache_Create (size_t maxSize)
 Create a unicode string cache. More...
 
MF_API void MFWStringCache_Destroy (MFWStringCache *pCache)
 Destroy a unicode string cache. More...
 
MF_API const wchar_t * MFWStringCache_Add (MFWStringCache *pCache, const wchar_t *pNewString)
 Add a unicode string to a unicode string cache. More...
 
MF_API wchar_t * MFWStringCache_GetCache (MFWStringCache *pCache)
 Get a pointer to the cache memory. More...
 
MF_API size_t MFWStringCache_GetSize (MFWStringCache *pCache)
 Get the actual used size of a unicode string cache. More...
 
MF_API void MFWStringCache_SetSize (MFWStringCache *pCache, size_t used)
 Set the number of bytes used in a unicode string cache. More...
 

Detailed Description