mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
add const'ness (allowing LuaScriptList::const_iterator)
This commit is contained in:
parent
ecba48a116
commit
2eb58913e8
2 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ namespace luabridge {
|
|||
*/
|
||||
namespace ARDOUR { namespace LuaScriptParams {
|
||||
|
||||
LIBARDOUR_API LuaScriptParamList script_params (LuaScriptInfoPtr, const std::string &);
|
||||
LIBARDOUR_API LuaScriptParamList script_params (const LuaScriptInfoPtr&, const std::string &);
|
||||
LIBARDOUR_API LuaScriptParamList script_params (const std::string &, const std::string &, bool file=true);
|
||||
LIBARDOUR_API void params_to_ref (luabridge::LuaRef *tbl_args, const LuaScriptParamList&);
|
||||
LIBARDOUR_API void ref_to_params (LuaScriptParamList&, luabridge::LuaRef *tbl_args);
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@ LuaScriptInfo::str2type (const std::string& str) {
|
|||
}
|
||||
|
||||
LuaScriptParamList
|
||||
LuaScriptParams::script_params (LuaScriptInfoPtr lsi, const std::string &pname)
|
||||
LuaScriptParams::script_params (const LuaScriptInfoPtr& lsi, const std::string &pname)
|
||||
{
|
||||
assert (lsi);
|
||||
return LuaScriptParams::script_params (lsi->path, pname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue