aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorq66 <daniel@octaforge.org>2018-08-01 15:54:09 +0200
committerq66 <daniel@octaforge.org>2018-08-01 15:54:09 +0200
commitb6b9eaac4a1b91d633979eb6df4746b9e10b7714 (patch)
tree98a189a1d13b8e2cad761780c4151dfd3cbff6ab
parentdo not check type names for beta usage (diff)
downloadeolian_tools-b6b9eaac4a1b91d633979eb6df4746b9e10b7714.tar.gz
add names from Eo.h that are beta but not in .eo
-rw-r--r--list_used_beta_api.lua80
1 files changed, 78 insertions, 2 deletions
diff --git a/list_used_beta_api.lua b/list_used_beta_api.lua
index a932efd..f742134 100644
--- a/list_used_beta_api.lua
+++ b/list_used_beta_api.lua
@@ -55,7 +55,83 @@ if not f then
error("could not find source files")
end
-local srcs, syms = {}, {}
+local srcs = {}
+
+-- a list of hardcoded names not in .eo files that we know of
+local syms = {
+ efl_add = true,
+ efl_add_ref = true,
+ efl_callbacks_cmp = true,
+ efl_cast = true,
+ efl_class_functions_set = true,
+ efl_class_get = true,
+ efl_class_name_get = true,
+ efl_class_new = true,
+ efl_compatible = true,
+ efl_data_ref = true,
+ efl_data_scope_get = true,
+ efl_data_scope_safe_get = true,
+ efl_data_unref = true,
+ efl_data_xref = true,
+ efl_data_xunref = true,
+ efl_dbg_info_free = true,
+ efl_dbg_info_get = true,
+ efl_debug_name_get = true,
+ efl_del = true,
+ efl_del_intercept_get = true,
+ efl_del_intercept_set = true,
+ efl_destructed_is = true,
+ efl_domain_current_get = true,
+ efl_domain_current_pop = true,
+ efl_domain_current_push = true,
+ efl_domain_current_set = true,
+ efl_domain_data_adopt = true,
+ efl_domain_data_get = true,
+ efl_domain_data_return = true,
+ efl_domain_get = true,
+ efl_domain_switch = true,
+ efl_event_callback_add = true,
+ efl_event_callback_array_add = true,
+ efl_event_callback_array_del = true,
+ efl_event_callback_array_priority_add = true,
+ efl_event_callback_call = true,
+ efl_event_callback_del = true,
+ efl_event_callback_legacy_call = true,
+ efl_event_callback_priority_add = true,
+ efl_future_Eina_FutureXXX_then = true,
+ efl_future_cb = true,
+ efl_future_cb_from_desc = true,
+ efl_future_chain = true,
+ efl_future_chain_array = true,
+ efl_isa = true,
+ efl_key_data_get = true,
+ efl_key_data_set = true,
+ efl_key_ref_get = true,
+ efl_key_ref_set = true,
+ efl_key_value_get = true,
+ efl_key_value_set = true,
+ efl_key_wref_get = true,
+ efl_key_wref_set = true,
+ efl_manual_free = true,
+ efl_manual_free_set = true,
+ efl_new = true,
+ efl_object_init = true,
+ efl_object_legacy_only_event_description_get = true,
+ efl_object_override = true,
+ efl_object_shutdown = true,
+ efl_ref = true,
+ efl_ref_count = true,
+ efl_reuse = true,
+ efl_super = true,
+ efl_unref = true,
+ efl_weak_ref = true,
+ efl_weak_unref = true,
+ efl_wref_add = true,
+ efl_wref_del = true,
+ efl_wref_del_safe = true,
+ efl_xref = true,
+ efl_xunref = true
+}
-- collect source files
for fn in f:lines() do
@@ -69,7 +145,7 @@ eos:all_eo_files_parse()
local add_syms = function(fun)
for i, n in ipairs(fun(eos)) do
- syms[n] = n
+ syms[n] = true
end
end