Add Lua binding to get a file's basename
This commit is contained in:
parent
b043336c86
commit
d5a2f6b2e0
@ -2548,6 +2548,7 @@ LuaBindings::common (lua_State* L)
|
|||||||
.addFunction ("usleep", Glib::usleep)
|
.addFunction ("usleep", Glib::usleep)
|
||||||
.addFunction ("file_test", Glib::file_test)
|
.addFunction ("file_test", Glib::file_test)
|
||||||
.addFunction ("file_get_contents", Glib::file_get_contents)
|
.addFunction ("file_get_contents", Glib::file_get_contents)
|
||||||
|
.addFunction ("path_get_basename", Glib::path_get_basename)
|
||||||
.addFunction ("monotonic_time", ::g_get_monotonic_time)
|
.addFunction ("monotonic_time", ::g_get_monotonic_time)
|
||||||
.addCFunction ("build_filename", ARDOUR::LuaAPI::build_filename)
|
.addCFunction ("build_filename", ARDOUR::LuaAPI::build_filename)
|
||||||
.addFunction ("new_noteptr", ARDOUR::LuaAPI::new_noteptr)
|
.addFunction ("new_noteptr", ARDOUR::LuaAPI::new_noteptr)
|
||||||
|
Loading…
Reference in New Issue
Block a user