summaryrefslogtreecommitdiffstats
path: root/src/Bindings/BindingsProcessor.lua (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-14Bindings: Allow coercion between Vector3 subtypes. (#4646)Mattes D1-30/+47
In manually bound functions, allows one to use any Vector3<T> value, as well as a {x, y, z} table, in Lua as any Vector3<T> parameter. Has example in Debuggers' /vector command. Unfortunately doesn't work in auto-bindings.
2018-05-02Prefer static_cast to reinterpret_cast (#4223)peterbell101-2/+2
* Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
2017-06-29Update tolua and export EffectIDpeterbell101-2/+35
2016-09-08APIDump: Removed trailing whitespace.Mattes D1-28/+28
2016-08-22cLuaState: Moved function param counting to PushCallPop() template.Mattes D1-1/+0
The Push() functions can be used not only for function params, but also returns or temporaries, so it doesn't make sense to count the params there.
2016-08-06Commented out code_out.cpp generating.Mattes D1-0/+4
Fixes #3296.
2016-07-18Bindings: Added a script to generate a diff between APIDesc and ToLua.Mattes D1-3/+3
This allows a simple copy operation from the DoxyComments into APIDesc.
2016-07-18Bindings: Don't generate docs for private symbols, mark static symbols.Mattes D1-13/+35
2016-07-18Bindings: Output description is valid Lua file.Mattes D1-3/+7
2016-07-18Bindings: Extract unexported DoxyComments.Mattes D1-15/+134
2016-07-18Bindings: Extract DoxyCommentsMattes D1-18/+187
2016-07-18Added a Pure-Lua implementation for bindings generation.Mattes D1-2/+507
The BindingsProcessor.lua script can be opened in ZeroBraneStudio and debugged from there, it invokes the entire ToLua++ processing. Also added docs-generation to the ToLua++ processor.
2016-06-05Bindings: Add a const-ptr variant to all stack getter functionsMattes D1-0/+15
2015-06-19Externalized cPrefabPiecePool self-test.Mattes D1-1/+3
2015-05-19Added LuaState support for all integral typestycho1-5/+7
All so added error handling for out of range values
2015-05-12ToLua now generates cLuaState::Push() and GetStackValue()Mattes D1-0/+161
For classes exported through ToLua it generates the cLuaState::Push() and cLuaState::GetStackValue() functions, as well as the supporting forward declarations and typedefs. Renamed virtual_method_hooks.lua to BindingsProcessor.lua since it no longer provides virtual method hooks and instead does additional processing when generating the bindings.