diff options
author | Robin Gareus <robin@gareus.org> | 2019-05-17 12:08:13 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-05-17 12:09:07 +0200 |
commit | 344feccc313136d3c76bd6cdab9bb7467759902f (patch) | |
tree | ee27fd3cd275d450d7362ee4509cd23804390e3e /libs/ardour/luabindings.cc | |
parent | bed2eb2e33123d6395f9f8cf96fce66168bcd878 (diff) |
Prefer dedicated c-pointer bindings (can be const)
Diffstat (limited to 'libs/ardour/luabindings.cc')
-rw-r--r-- | libs/ardour/luabindings.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 59b9f6d741..85dc09c5b6 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -1654,7 +1654,7 @@ LuaBindings::common (lua_State* L) .beginStdVector <boost::shared_ptr<Source> > ("SourceList") .endClass () - // from SessionPlaylists + // from SessionPlaylists: std::vector<boost::shared_ptr<Playlist > > .beginStdVector <boost::shared_ptr<Playlist> > ("PlaylistList") .endClass () @@ -1691,7 +1691,7 @@ LuaBindings::common (lua_State* L) .beginConstStdList <AudioRange> ("AudioRangeList") .endClass () - .beginConstStdList <Location*> ("LocationList") + .beginConstStdCPtrList <Location> ("LocationList") .endClass () // std::list<boost::shared_ptr<AutomationControl> > ControlList; @@ -1705,7 +1705,7 @@ LuaBindings::common (lua_State* L) .beginStdList <boost::shared_ptr<Evoral::Note<Temporal::Beats> > > ("NotePtrList") .endClass () - .beginConstStdList <Evoral::ControlEvent*> ("EventList") + .beginConstStdCPtrList <Evoral::ControlEvent> ("EventList") .endClass () #if 0 // depends on Evoal:: Note, Beats see note_fixer.h |