projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1d987
)
lua-utils: add missing boolean support for funcbridge Lua call.
v0.0.48
author
Janos Kovacs
<jankovac503@gmail.com>
Tue, 11 Feb 2014 14:49:47 +0000
(16:49 +0200)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Tue, 25 Feb 2014 08:50:41 +0000
(10:50 +0200)
src/core/lua-utils/funcbridge.c
patch
|
blob
|
history
diff --git
a/src/core/lua-utils/funcbridge.c
b/src/core/lua-utils/funcbridge.c
index
295fd97
..
a0413e5
100644
(file)
--- a/
src/core/lua-utils/funcbridge.c
+++ b/
src/core/lua-utils/funcbridge.c
@@
-895,6
+895,9
@@
static int make_lua_call(lua_State *L, mrp_funcbridge_t *fb, int f)
case MRP_FUNCBRIDGE_OBJECT:
a->pointer = mrp_lua_check_object(L, NULL, i);
break;
+ case MRP_FUNCBRIDGE_BOOLEAN:
+ a->boolean = lua_toboolean(L, i);
+ break;
case MRP_FUNCBRIDGE_ARRAY:
if (fb->c.sigtypes == NULL ||
(type = fb->c.sigtypes[tidx++]) == MRP_LUA_NONE) {