diff options
author | Robin Gareus <robin@gareus.org> | 2019-04-08 01:56:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-04-08 01:56:52 +0200 |
commit | 94409c80f3d42789e5d9246d7343dfa5354bc14e (patch) | |
tree | a7c3b82917d603b25bc95cf54726bd05fb4fd89e /libs/ardour/ardour/lua_api.h | |
parent | e4f18c177161466d28e357bcfc5ad946c6f7634a (diff) |
NO-OP: whitespace
Diffstat (limited to 'libs/ardour/ardour/lua_api.h')
-rw-r--r-- | libs/ardour/ardour/lua_api.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/libs/ardour/ardour/lua_api.h b/libs/ardour/ardour/lua_api.h index 7c2c309982..b29c3df073 100644 --- a/libs/ardour/ardour/lua_api.h +++ b/libs/ardour/ardour/lua_api.h @@ -300,8 +300,8 @@ namespace ARDOUR { namespace LuaAPI { private: ::Vamp::Plugin* _plugin; float _sample_rate; - samplecnt_t _bufsize; - samplecnt_t _stepsize; + samplecnt_t _bufsize; + samplecnt_t _stepsize; bool _initialized; }; @@ -366,41 +366,41 @@ namespace ARDOUR { namespace LuaOSC { } class LuaTableRef { - public: - LuaTableRef (); - ~LuaTableRef (); - - int get (lua_State* L); - int set (lua_State* L); - - private: - struct LuaTableEntry { - LuaTableEntry (int kt, int vt) - : keytype (kt) - , valuetype (vt) - { } - - int keytype; - std::string k_s; - unsigned int k_n; - - int valuetype; - // LUA_TUSERDATA - const void* c; - void* p; - // LUA_TBOOLEAN - bool b; - // LUA_TSTRING: - std::string s; - // LUA_TNUMBER: - double n; - }; - - std::vector<LuaTableEntry> _data; - - static void* findclasskey (lua_State *L, const void* key); - template<typename T> - static void assign (luabridge::LuaRef* rv, T key, const LuaTableEntry& s); +public: + LuaTableRef (); + ~LuaTableRef (); + + int get (lua_State* L); + int set (lua_State* L); + +private: + struct LuaTableEntry { + LuaTableEntry (int kt, int vt) + : keytype (kt) + , valuetype (vt) + { } + + int keytype; + std::string k_s; + unsigned int k_n; + + int valuetype; + // LUA_TUSERDATA + const void* c; + void* p; + // LUA_TBOOLEAN + bool b; + // LUA_TSTRING: + std::string s; + // LUA_TNUMBER: + double n; + }; + + std::vector<LuaTableEntry> _data; + + static void* findclasskey (lua_State *L, const void* key); + template<typename T> + static void assign (luabridge::LuaRef* rv, T key, const LuaTableEntry& s); }; } /* namespace */ |