marrub
/
LoveToken
Archived
1
0
Fork 0
pull/1/head
Marrub 2015-06-05 13:46:02 -04:00
parent 59407ec0a5
commit 5cc14adf4f
3 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@
all:
mkdir -p bin
mingw32-gcc --std=c99 -g -ggdb -liconv -c -o bin/lt.o src/lt.c -liconv
mingw32-gcc -shared -g -ggdb -liconv -o bin/LoveToken.dll bin/lt.o -Wl,--out-implib,bin/libLoveToken.a -liconv
mingw32-gcc --std=c99 -g -ggdb -c -o bin/lt.o src/lt.c -liconv
mingw32-gcc -shared -g -ggdb -o bin/LoveToken.dll bin/lt.o -Wl,--out-implib,bin/libLoveToken.a -liconv
#mingw32-gcc --std=c99 -g -ggdb -c -o bin/lt.o -DI_FUCKING_HATE_WINDOWS src/lt.c
#mingw32-gcc -shared -g -ggdb -o bin/LoveToken.dll bin/iconv.o bin/lt.o -Wl,--out-implib,bin/libLoveToken.a
#cp bin/LoveToken.dll test/LoveToken.dll

View File

@ -34,7 +34,7 @@ static iconv_t icDesc;
static bool assertError = false;
static const char *assertString;
const char *LT_TkNames[] = {
char *LT_TkNames[] = {
// [marrub] So, this was an interesting bug. This was completely misordered from the enum.
// As can be guessed, this caused many issues. Seriously, all of them.
"TOK_Colon", "TOK_Comma", "TOK_Div", "TOK_Mod", "TOK_Mul", "TOK_Query",

View File

@ -115,7 +115,7 @@ LT_Token LT_EXPORT LT_GetToken();
* Don't include these into FFI declarations.
*/
extern const char *LT_EXPORT LT_TkNames[];
extern char *LT_EXPORT LT_TkNames[];
#endif