mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
extend lua-doc to show properties
This commit is contained in:
parent
29feb8dec7
commit
bc0bb6cae9
2 changed files with 20 additions and 1 deletions
|
|
@ -790,6 +790,7 @@ private:
|
|||
template <class TG, class TS>
|
||||
Class <T>& addProperty (char const* name, TG (T::* get) () const, bool (T::* set) (TS))
|
||||
{
|
||||
DATADOC ("Property", name, get)
|
||||
// Add to __propget in class and const tables.
|
||||
{
|
||||
rawgetfield (L, -2, "__propget");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue