thug/Code/Gel/Scripting/string.h

26 lines
561 B
C
Raw Permalink Normal View History

2016-02-13 21:39:12 +00:00
#ifndef __SCRIPTING_STRING_H
#define __SCRIPTING_STRING_H
#ifndef __CORE_DEFINES_H
#include <core/defines.h>
#endif
namespace Script
{
void AllocatePermanentStringHeap(uint32 maxSize, uint32 maxStrings);
void DeallocatePermanentStringHeap();
void UsePermanentStringHeap();
void UseRegularStringHeap();
char *CreateString(const char *p_string);
void DeleteString(char *p_string);
void SetScriptString(uint32 n, const char *p_string);
char* GetScriptString(uint32 n);
} // namespace Script
#endif // #ifndef __SCRIPTING_STRING_H