Archived
1
0
This commit is contained in:
Benjamin Moir 2015-09-01 00:13:07 +09:30
parent e73c4e7ed4
commit f90e536e4e

View File

@ -106,10 +106,20 @@ function tokenizer:openFile(filePath)
return pReturn return pReturn
end end
function tokenizer:openString(str)
pReturn = loveToken.LT_OpenString(str)
tokenizer:checkError()
return pReturn
end
function tokenizer:closeFile() function tokenizer:closeFile()
loveToken.LT_CloseFile() loveToken.LT_CloseFile()
end end
function tokenizer:closeString()
loveToken.LT_CloseString()
end
function tokenizer:quit() function tokenizer:quit()
loveToken.LT_CloseFile() loveToken.LT_CloseFile()
loveToken.LT_Quit() loveToken.LT_Quit()