summaryrefslogtreecommitdiffstats
path: root/src/Bindings/BindingsProcessor.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bindings: Allow coercion between Vector3 subtypes. (#4646)Mattes D2020-04-141-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.
* Prefer static_cast to reinterpret_cast (#4223)peterbell102018-05-021-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.
* Update tolua and export EffectIDpeterbell102017-06-291-2/+35
|
* APIDump: Removed trailing whitespace.Mattes D2016-09-081-28/+28
|
* cLuaState: Moved function param counting to PushCallPop() template.Mattes D2016-08-221-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.
* Commented out code_out.cpp generating.Mattes D2016-08-061-0/+4
| | | | Fixes #3296.
* Bindings: Added a script to generate a diff between APIDesc and ToLua.Mattes D2016-07-181-3/+3
| | | | This allows a simple copy operation from the DoxyComments into APIDesc.
* Bindings: Don't generate docs for private symbols, mark static symbols.Mattes D2016-07-181-13/+35
|
* Bindings: Output description is valid Lua file.Mattes D2016-07-181-3/+7
|
* Bindings: Extract unexported DoxyComments.Mattes D2016-07-181-15/+134
|
* Bindings: Extract DoxyCommentsMattes D2016-07-181-18/+187
|
* Added a Pure-Lua implementation for bindings generation.Mattes D2016-07-181-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.
* Bindings: Add a const-ptr variant to all stack getter functionsMattes D2016-06-051-0/+15
|
* Externalized cPrefabPiecePool self-test.Mattes D2015-06-191-1/+3
|
* Added LuaState support for all integral typestycho2015-05-191-5/+7
| | | | All so added error handling for out of range values
* ToLua now generates cLuaState::Push() and GetStackValue()Mattes D2015-05-121-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.