Archived
1
0
This commit is contained in:
Marrub 2015-06-07 03:47:38 -04:00
parent 1cb7804fe1
commit fba61dde93

View File

@ -37,7 +37,7 @@ typedef struct
const char *toCode; const char *toCode;
const char *stringChars; const char *stringChars;
const char *charChars; const char *charChars;
} LT_InitInfo; } LT_Config;
typedef struct typedef struct
{ {
@ -52,12 +52,15 @@ typedef struct
const char *str; const char *str;
} LT_AssertInfo; } LT_AssertInfo;
void LT_Init(LT_InitInfo initInfo); void LT_Init(LT_Config initCfg);
void LT_SetConfig(LT_Config newCfg);
void LT_Quit(); void LT_Quit();
bool LT_Assert(bool assertion, const char *str); bool LT_Assert(bool assertion, const char *str);
LT_AssertInfo LT_CheckAssert(); LT_AssertInfo LT_CheckAssert();
bool LT_OpenFile(const char *filePath); bool LT_OpenFile(const char *filePath);
void LT_SetPos(int newPos);
void LT_CloseFile(); void LT_CloseFile();
char *LT_ReadNumber(); char *LT_ReadNumber();