Lua API: Add path field
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
This commit is contained in:
1 parent
365e84fec3
commit
87c00d2291
2 files changed
+4
No files matched your search
@@ -101,6 +101,9 @@ static void lua_uh_action(struct uh_client *cl)
|
||||
lua_pushstring(L, cl->get_version(cl));
|
||||
lua_setfield(L, -2, "version");
|
||||
|
||||
lua_pushstring(L, cl->get_path(cl));
|
||||
lua_setfield(L, -2, "path");
|
||||
|
||||
lua_pushstring(L, cl->get_url(cl));
|
||||
lua_setfield(L, -2, "url");
|
||||
|
||||
|
||||
Reference in new issue
Block a user