Skip to content

Using multiple lua versions in the same project #321

Answered by khvzak
toxamin asked this question in Q&A
Discussion options

You must be logged in to vote

You can do this, probably, by creating a few dynamic libraries, one for each lua version.
Then load required libraries (all or some) using libloading.
It's not trivial unfortunately (you basically need to write plugins for your app). Take a look to abi_stable as well.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@toxamin
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by toxamin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants