forked from enlightenment/efl
elementary: enable lua binding gen
This commit is contained in:
parent
b1070f9478
commit
5ad9a8542b
|
@ -966,18 +966,18 @@ EXTRA_DIST += \
|
||||||
tests/elementary/elm_test_helper.h
|
tests/elementary/elm_test_helper.h
|
||||||
|
|
||||||
|
|
||||||
# if HAVE_ELUA
|
if HAVE_ELUA
|
||||||
|
|
||||||
# elementary_eolian_lua = $(elm_eolian_files:%.eo=%.eo.lua)
|
elementary_eolian_lua = $(elm_eolian_files:%.eo=%.eo.lua)
|
||||||
|
|
||||||
# generated_elementary_lua_all = $(elementary_eolian_lua)
|
generated_elementary_lua_all = $(elementary_eolian_lua)
|
||||||
|
|
||||||
# CLEANFILES += $(generated_elementary_lua_all)
|
CLEANFILES += $(generated_elementary_lua_all)
|
||||||
|
|
||||||
# installed_elementaryluadir = $(datadir)/elua/modules/elementary
|
installed_elementaryluadir = $(datadir)/elua/modules/elementary
|
||||||
# nodist_installed_elementarylua_DATA = $(generated_elementary_lua_all)
|
nodist_installed_elementarylua_DATA = $(generated_elementary_lua_all)
|
||||||
|
|
||||||
# endif
|
endif
|
||||||
|
|
||||||
if HAVE_JS
|
if HAVE_JS
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,9 @@ local num_others = {
|
||||||
}
|
}
|
||||||
|
|
||||||
local is_num = function(x)
|
local is_num = function(x)
|
||||||
|
if not x then
|
||||||
|
return false
|
||||||
|
end
|
||||||
if num_others [x ] then return true end
|
if num_others [x ] then return true end
|
||||||
if int_builtin[x ] then return true end
|
if int_builtin[x ] then return true end
|
||||||
if int_builtin["u" .. x] then return true end
|
if int_builtin["u" .. x] then return true end
|
||||||
|
|
Loading…
Reference in New Issue