Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LuaJIT compatibility #5

Open
JMLX42 opened this issue Nov 24, 2013 · 3 comments
Open

LuaJIT compatibility #5

JMLX42 opened this issue Nov 24, 2013 · 3 comments
Assignees

Comments

@JMLX42
Copy link
Contributor

JMLX42 commented Nov 24, 2013

Hello,

from what I've seen so far, the LuaJIT C API looks pretty much the same as the classic Lua implementation (except for a few JIT related functions).

Does that mean that LuaGlue should work transparently with both Lua and LuaJIT and that I just have to include the proper header for the impl. I want to use?

Thank you very much for your help and your great work!

@Tomasu
Copy link
Owner

Tomasu commented Nov 24, 2013

I haven't looked into LuaJIT support yet. I don't know if it's a drop in replacement or not.

@ghost ghost assigned Tomasu Nov 24, 2013
@LayfonWeller
Copy link

It is not a drop in replacement, luajit give access to lua 5.1 functions only.
Meaning that LUA_UNSIGNED and LUA_OK (probably others too) are undefined in luajit, breaking to build.

@Tomasu
Copy link
Owner

Tomasu commented Jun 7, 2014

I might try and get 5.1 support in. But it's not a high priority for me at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants