This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/contrib/luashim
Cengiz Can eea2de2a1a Avoid impl dependent multi-char constants
Hello!

I was receiving this warning while compiling for linux:

```
src/host/premake.c: In function ‘premake_init’:
src/host/premake.c:197:36: warning: multi-character character constant [-Wmultichar]
  lua_rawseti(L, LUA_REGISTRYINDEX, 'SHIM');
                                    ^~~~~~
```

Instead of disabling the warning, I've decided to convert that array key to
an expression.

And I've tested with following compilers:

gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)

Thank you
2018-10-15 11:55:05 +03:00
..
lua.txt Proof of concept for binary modules. 2017-07-04 19:19:23 -07:00
luashim.c Avoid impl dependent multi-char constants 2018-10-15 11:55:05 +03:00
luashim.h Xcode Fixes 2018-05-31 21:00:15 -07:00
premake5.lua Proof of concept for binary modules. 2017-07-04 19:19:23 -07:00