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 ToL开发者_StackOverflow中文版ua++ 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.
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.
精彩评论