th3flyboy
th3flyboy

Reputation: 95

Possible conflicts between Lua C++ bindings

I am currently working on a project. One library I would like to consider using in the future uses ToLua++ as a method of binding Lua. Currently, the library I am looking at is CEGUI, and it uses ToLua++. I am currently considering using LuaBind for the implementation in the project I'm working on. I was wondering if anyone would have any insight as to if that would cause clashes and break things, or if it would work just fine.

Upvotes: 0

Views: 184

Answers (1)

antonakos
antonakos

Reputation: 8361

As long as you don't define the same Lua entities with both tools, LuaBind and ToLua++ coexist nicely. You can use either tool to add more functions and classes to a module, but you can't add more methods to a class defined by the other tool.

Upvotes: 1

Related Questions