diff options
author | Robin Gareus <robin@gareus.org> | 2016-09-12 12:02:07 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-09-12 12:02:07 +0200 |
commit | 656b3b9c2862114eb84ea0eea5225568015515f5 (patch) | |
tree | d941406b6864a0f763eff0ac1442060582d60642 /libs/ardour/ardour/lua_api.h | |
parent | 55af1d539f90ebafa2f598ddd5ab0cc1425263b6 (diff) |
Add a Lua wrapper to Glib::build_filename()
Diffstat (limited to 'libs/ardour/ardour/lua_api.h')
-rw-r--r-- | libs/ardour/ardour/lua_api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/ardour/lua_api.h b/libs/ardour/ardour/lua_api.h index 9af9649620..f737eddc4b 100644 --- a/libs/ardour/ardour/lua_api.h +++ b/libs/ardour/ardour/lua_api.h @@ -130,6 +130,14 @@ namespace ARDOUR { namespace LuaAPI { * @returns 4 parameters: red, green, blue, alpha (in range 0..1) */ int hsla_to_rgba (lua_State *lua); + + /* Creates a filename from a series of elements using the correct separator for filenames. + * + * No attempt is made to force the resulting filename to be an absolute path. + * If the first element is a relative path, the result will be a relative path. + */ + int build_filename (lua_State *lua); + } } /* namespace */ namespace ARDOUR { namespace LuaOSC { |