bindings-generator
bindings-generator copied to clipboard
JSBindings generator for C++
`void std_map_string_string_to_luaval(lua_State* L, const std::map& inValue);` in `cocos2d-x\cocos\scripting\lua-bindings\manual\LuaBasicConversions.h`
Hi, when two overload member function has the same params nums, the "ifunction_overloaded.c" will judge the first style and break. same as, C++: void Node:addChild(Node* child, int localZOrder, const std::string...
pickup first `clang` folder listed by `os.listdir`, add it to include path.
fix auto bindings for using lambda ''std::function' bindings old: auto lambda = [=](std::map larg1) -> void {} bindings now: auto lambda = [=](std::map larg0) -> void {}
I found it quite hard to easily manage JS-bindings, so I created a project generator that may help others as well! Please let me know what you think.
old regex: `function` now regex: `function` input string is `function` result about first group: old: `Ref` now: `Ref *`
1.For functions that have not overload and not params that have default values,the error tip is "ccui.ScrollView:setInnerContainerSize has wrong number of arguments: 2, the minimum number expected is 1 ,the...