You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been prototyping plugin support for one of my projects with wxlua, and I want to use it to generate bindings for the application's classes so they can be exposed to the plugins, but genwxbind.lua doesn't appear to have any kind of template support, and my project uses them extensively both in the form of STL containers and my own template classes.
I haven't really looked into the code, this might be too big of a feature to do without drastic rework, but it would be nice since my only other ideas are to manually roll bindings for each different instantiation of the templates (not sure if this will work) or make some horrible combination of wxlua and some other binding library like LuaBridge.
Below are excerpts from some of the classes that I need to create bindings for:
I think this would be an interesting feature, but I checked the genwxbind.lua code and don't see a straightforward way to integrate this into the bindings unfortunately.
I've been prototyping plugin support for one of my projects with wxlua, and I want to use it to generate bindings for the application's classes so they can be exposed to the plugins, but
genwxbind.lua
doesn't appear to have any kind of template support, and my project uses them extensively both in the form of STL containers and my own template classes.I haven't really looked into the code, this might be too big of a feature to do without drastic rework, but it would be nice since my only other ideas are to manually roll bindings for each different instantiation of the templates (not sure if this will work) or make some horrible combination of wxlua and some other binding library like LuaBridge.
Below are excerpts from some of the classes that I need to create bindings for:
For a more complete view of the classes:
https://github.com/solemnwarning/rehex/blob/master/src/document.hpp
https://github.com/solemnwarning/rehex/blob/master/src/ByteRangeMap.hpp
The text was updated successfully, but these errors were encountered: