diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-06-10 17:35:31 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-06-10 17:36:33 +0100 |
commit | cf2e94e11b9d74aadad880bce51c242897b1e5bb (patch) | |
tree | 5718f53094b53949423764279f91ad774cc93105 /src | |
parent | 1d6c60738c74f5bc7a6be1944a5d2462dd9c05c9 (diff) |
elua: unexpose "old" documentation api from eolian bindings
Diffstat (limited to 'src')
-rw-r--r-- | src/bindings/luajit/eolian.lua | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua index 2abd3b2b57..452cb75cb6 100644 --- a/src/bindings/luajit/eolian.lua +++ b/src/bindings/luajit/eolian.lua | |||
@@ -204,7 +204,6 @@ ffi.cdef [[ | |||
204 | Eina_Iterator *eolian_class_namespaces_get(const Eolian_Class *klass); | 204 | Eina_Iterator *eolian_class_namespaces_get(const Eolian_Class *klass); |
205 | Eolian_Class_Type eolian_class_type_get(const Eolian_Class *klass); | 205 | Eolian_Class_Type eolian_class_type_get(const Eolian_Class *klass); |
206 | Eina_Iterator *eolian_all_classes_get(void); | 206 | Eina_Iterator *eolian_all_classes_get(void); |
207 | const char *eolian_class_description_get(const Eolian_Class *klass); | ||
208 | const Eolian_Documentation *eolian_class_documentation_get(const Eolian_Class *klass); | 207 | const Eolian_Documentation *eolian_class_documentation_get(const Eolian_Class *klass); |
209 | const char *eolian_class_legacy_prefix_get(const Eolian_Class *klass); | 208 | const char *eolian_class_legacy_prefix_get(const Eolian_Class *klass); |
210 | const char *eolian_class_eo_prefix_get(const Eolian_Class *klass); | 209 | const char *eolian_class_eo_prefix_get(const Eolian_Class *klass); |
@@ -217,7 +216,6 @@ ffi.cdef [[ | |||
217 | const char *eolian_function_full_c_name_get(const Eolian_Function *function_id); | 216 | const char *eolian_function_full_c_name_get(const Eolian_Function *function_id); |
218 | const Eolian_Function *eolian_class_function_get_by_name(const Eolian_Class *klass, const char *func_name, Eolian_Function_Type f_type); | 217 | const Eolian_Function *eolian_class_function_get_by_name(const Eolian_Class *klass, const char *func_name, Eolian_Function_Type f_type); |
219 | const char *eolian_function_legacy_get(const Eolian_Function *function_id, Eolian_Function_Type f_type); | 218 | const char *eolian_function_legacy_get(const Eolian_Function *function_id, Eolian_Function_Type f_type); |
220 | const char *eolian_function_description_get(const Eolian_Function *function_id, Eolian_Function_Type f_type); | ||
221 | const Eolian_Documentation *eolian_function_documentation_get(const Eolian_Function *function_id, Eolian_Function_Type f_type); | 219 | const Eolian_Documentation *eolian_function_documentation_get(const Eolian_Function *function_id, Eolian_Function_Type f_type); |
222 | Eina_Bool eolian_function_is_virtual_pure(const Eolian_Function *function_id, Eolian_Function_Type f_type); | 220 | Eina_Bool eolian_function_is_virtual_pure(const Eolian_Function *function_id, Eolian_Function_Type f_type); |
223 | Eina_Bool eolian_function_is_auto(const Eolian_Function *function_id, Eolian_Function_Type f_type); | 221 | Eina_Bool eolian_function_is_auto(const Eolian_Function *function_id, Eolian_Function_Type f_type); |
@@ -232,14 +230,12 @@ ffi.cdef [[ | |||
232 | const Eolian_Type *eolian_parameter_type_get(const Eolian_Function_Parameter *param); | 230 | const Eolian_Type *eolian_parameter_type_get(const Eolian_Function_Parameter *param); |
233 | const Eolian_Expression *eolian_parameter_default_value_get(const Eolian_Function_Parameter *param); | 231 | const Eolian_Expression *eolian_parameter_default_value_get(const Eolian_Function_Parameter *param); |
234 | const char *eolian_parameter_name_get(const Eolian_Function_Parameter *param); | 232 | const char *eolian_parameter_name_get(const Eolian_Function_Parameter *param); |
235 | const char *eolian_parameter_description_get(const Eolian_Function_Parameter *param); | ||
236 | const Eolian_Documentation *eolian_parameter_documentation_get(const Eolian_Function_Parameter *param); | 233 | const Eolian_Documentation *eolian_parameter_documentation_get(const Eolian_Function_Parameter *param); |
237 | Eina_Bool eolian_parameter_is_nonull(const Eolian_Function_Parameter *param_desc); | 234 | Eina_Bool eolian_parameter_is_nonull(const Eolian_Function_Parameter *param_desc); |
238 | Eina_Bool eolian_parameter_is_nullable(const Eolian_Function_Parameter *param_desc); | 235 | Eina_Bool eolian_parameter_is_nullable(const Eolian_Function_Parameter *param_desc); |
239 | Eina_Bool eolian_parameter_is_optional(const Eolian_Function_Parameter *param_desc); | 236 | Eina_Bool eolian_parameter_is_optional(const Eolian_Function_Parameter *param_desc); |
240 | const Eolian_Type *eolian_function_return_type_get(const Eolian_Function *function_id, Eolian_Function_Type ftype); | 237 | const Eolian_Type *eolian_function_return_type_get(const Eolian_Function *function_id, Eolian_Function_Type ftype); |
241 | const Eolian_Expression *eolian_function_return_default_value_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype); | 238 | const Eolian_Expression *eolian_function_return_default_value_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype); |
242 | const char *eolian_function_return_comment_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype); | ||
243 | const Eolian_Documentation *eolian_function_return_documentation_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype); | 239 | const Eolian_Documentation *eolian_function_return_documentation_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype); |
244 | Eina_Bool eolian_function_return_is_warn_unused(const Eolian_Function *foo_id, Eolian_Function_Type ftype); | 240 | Eina_Bool eolian_function_return_is_warn_unused(const Eolian_Function *foo_id, Eolian_Function_Type ftype); |
245 | Eina_Bool eolian_function_object_is_const(const Eolian_Function *function_id); | 241 | Eina_Bool eolian_function_object_is_const(const Eolian_Function *function_id); |
@@ -261,7 +257,6 @@ ffi.cdef [[ | |||
261 | Eina_Iterator *eolian_class_events_get(const Eolian_Class *klass); | 257 | Eina_Iterator *eolian_class_events_get(const Eolian_Class *klass); |
262 | const char *eolian_event_name_get(const Eolian_Event *event); | 258 | const char *eolian_event_name_get(const Eolian_Event *event); |
263 | const Eolian_Type *eolian_event_type_get(const Eolian_Event *event); | 259 | const Eolian_Type *eolian_event_type_get(const Eolian_Event *event); |
264 | const char *eolian_event_description_get(const Eolian_Event *event); | ||
265 | const Eolian_Documentation *eolian_event_documentation_get(const Eolian_Event *event); | 260 | const Eolian_Documentation *eolian_event_documentation_get(const Eolian_Event *event); |
266 | Eolian_Object_Scope eolian_event_scope_get(const Eolian_Event *event); | 261 | Eolian_Object_Scope eolian_event_scope_get(const Eolian_Event *event); |
267 | const char *eolian_event_c_name_get(const Eolian_Event *event); | 262 | const char *eolian_event_c_name_get(const Eolian_Event *event); |
@@ -280,17 +275,14 @@ ffi.cdef [[ | |||
280 | Eina_Iterator *eolian_type_struct_fields_get(const Eolian_Type *tp); | 275 | Eina_Iterator *eolian_type_struct_fields_get(const Eolian_Type *tp); |
281 | const Eolian_Struct_Type_Field *eolian_type_struct_field_get(const Eolian_Type *tp, const char *field); | 276 | const Eolian_Struct_Type_Field *eolian_type_struct_field_get(const Eolian_Type *tp, const char *field); |
282 | const char *eolian_type_struct_field_name_get(const Eolian_Struct_Type_Field *fl); | 277 | const char *eolian_type_struct_field_name_get(const Eolian_Struct_Type_Field *fl); |
283 | const char *eolian_type_struct_field_description_get(const Eolian_Struct_Type_Field *fl); | ||
284 | const Eolian_Documentation *eolian_type_struct_field_documentation_get(const Eolian_Struct_Type_Field *fl); | 278 | const Eolian_Documentation *eolian_type_struct_field_documentation_get(const Eolian_Struct_Type_Field *fl); |
285 | const Eolian_Type *eolian_type_struct_field_type_get(const Eolian_Struct_Type_Field *fl); | 279 | const Eolian_Type *eolian_type_struct_field_type_get(const Eolian_Struct_Type_Field *fl); |
286 | Eina_Iterator *eolian_type_enum_fields_get(const Eolian_Type *tp); | 280 | Eina_Iterator *eolian_type_enum_fields_get(const Eolian_Type *tp); |
287 | const Eolian_Enum_Type_Field *eolian_type_enum_field_get(const Eolian_Type *tp, const char *field); | 281 | const Eolian_Enum_Type_Field *eolian_type_enum_field_get(const Eolian_Type *tp, const char *field); |
288 | const char *eolian_type_enum_field_name_get(const Eolian_Enum_Type_Field *fl); | 282 | const char *eolian_type_enum_field_name_get(const Eolian_Enum_Type_Field *fl); |
289 | const char *eolian_type_enum_field_description_get(const Eolian_Enum_Type_Field *fl); | ||
290 | const Eolian_Documentation *eolian_type_enum_field_documentation_get(const Eolian_Enum_Type_Field *fl); | 283 | const Eolian_Documentation *eolian_type_enum_field_documentation_get(const Eolian_Enum_Type_Field *fl); |
291 | const Eolian_Expression *eolian_type_enum_field_value_get(const Eolian_Enum_Type_Field *fl, Eina_Bool force); | 284 | const Eolian_Expression *eolian_type_enum_field_value_get(const Eolian_Enum_Type_Field *fl, Eina_Bool force); |
292 | const char *eolian_type_enum_legacy_prefix_get(const Eolian_Type *tp); | 285 | const char *eolian_type_enum_legacy_prefix_get(const Eolian_Type *tp); |
293 | const char *eolian_type_description_get(const Eolian_Type *tp); | ||
294 | const Eolian_Documentation *eolian_type_documentation_get(const Eolian_Type *tp); | 286 | const Eolian_Documentation *eolian_type_documentation_get(const Eolian_Type *tp); |
295 | const char *eolian_type_file_get(const Eolian_Type *tp); | 287 | const char *eolian_type_file_get(const Eolian_Type *tp); |
296 | const Eolian_Type *eolian_type_return_type_get(const Eolian_Type *tp); | 288 | const Eolian_Type *eolian_type_return_type_get(const Eolian_Type *tp); |
@@ -320,7 +312,6 @@ ffi.cdef [[ | |||
320 | Eina_Iterator *eolian_variable_globals_get_by_file(const char *fname); | 312 | Eina_Iterator *eolian_variable_globals_get_by_file(const char *fname); |
321 | Eina_Iterator *eolian_variable_constants_get_by_file(const char *fname); | 313 | Eina_Iterator *eolian_variable_constants_get_by_file(const char *fname); |
322 | Eolian_Variable_Type eolian_variable_type_get(const Eolian_Variable *var); | 314 | Eolian_Variable_Type eolian_variable_type_get(const Eolian_Variable *var); |
323 | const char *eolian_variable_description_get(const Eolian_Variable *var); | ||
324 | const Eolian_Documentation *eolian_variable_documentation_get(const Eolian_Variable *var); | 315 | const Eolian_Documentation *eolian_variable_documentation_get(const Eolian_Variable *var); |
325 | const char *eolian_variable_file_get(const Eolian_Variable *var); | 316 | const char *eolian_variable_file_get(const Eolian_Variable *var); |
326 | const Eolian_Type *eolian_variable_base_type_get(const Eolian_Variable *var); | 317 | const Eolian_Type *eolian_variable_base_type_get(const Eolian_Variable *var); |
@@ -477,12 +468,6 @@ ffi.metatype("Eolian_Struct_Type_Field", { | |||
477 | return ffi.string(v) | 468 | return ffi.string(v) |
478 | end, | 469 | end, |
479 | 470 | ||
480 | description_get = function(self) | ||
481 | local v = eolian.eolian_type_struct_field_description_get(self) | ||
482 | if v == nil then return nil end | ||
483 | return ffi.string(v) | ||
484 | end, | ||
485 | |||
486 | documentation_get = function(self) | 471 | documentation_get = function(self) |
487 | local v = eolian.eolian_type_struct_field_documentation_get(self) | 472 | local v = eolian.eolian_type_struct_field_documentation_get(self) |
488 | if v == nil then return nil end | 473 | if v == nil then return nil end |
@@ -505,12 +490,6 @@ ffi.metatype("Eolian_Enum_Type_Field", { | |||
505 | return ffi.string(v) | 490 | return ffi.string(v) |
506 | end, | 491 | end, |
507 | 492 | ||
508 | description_get = function(self) | ||
509 | local v = eolian.eolian_type_enum_field_description_get(self) | ||
510 | if v == nil then return nil end | ||
511 | return ffi.string(v) | ||
512 | end, | ||
513 | |||
514 | documentation_get = function(self) | 493 | documentation_get = function(self) |
515 | local v = eolian.eolian_type_enum_field_documentation_get(self) | 494 | local v = eolian.eolian_type_enum_field_documentation_get(self) |
516 | if v == nil then return nil end | 495 | if v == nil then return nil end |
@@ -569,12 +548,6 @@ M.Type = ffi.metatype("Eolian_Type", { | |||
569 | return ffi.string(v) | 548 | return ffi.string(v) |
570 | end, | 549 | end, |
571 | 550 | ||
572 | description_get = function(self, name) | ||
573 | local v = eolian.eolian_type_description_get(self) | ||
574 | if v == nil then return nil end | ||
575 | return ffi.string(v) | ||
576 | end, | ||
577 | |||
578 | documentation_get = function(self, name) | 551 | documentation_get = function(self, name) |
579 | local v = eolian.eolian_type_documentation_get(self) | 552 | local v = eolian.eolian_type_documentation_get(self) |
580 | if v == nil then return nil end | 553 | if v == nil then return nil end |
@@ -690,12 +663,6 @@ M.Function = ffi.metatype("Eolian_Function", { | |||
690 | return ffi.string(v) | 663 | return ffi.string(v) |
691 | end, | 664 | end, |
692 | 665 | ||
693 | description_get = function(self, ftype) | ||
694 | local v = eolian.eolian_function_description_get(self, ftype) | ||
695 | if v == nil then return nil end | ||
696 | return ffi.string(v) | ||
697 | end, | ||
698 | |||
699 | documentation_get = function(self, ftype) | 666 | documentation_get = function(self, ftype) |
700 | local v = eolian.eolian_function_documentation_get(self, ftype) | 667 | local v = eolian.eolian_function_documentation_get(self, ftype) |
701 | if v == nil then return nil end | 668 | if v == nil then return nil end |
@@ -753,12 +720,6 @@ M.Function = ffi.metatype("Eolian_Function", { | |||
753 | return v | 720 | return v |
754 | end, | 721 | end, |
755 | 722 | ||
756 | return_comment_get = function(self, ftype) | ||
757 | local v = eolian.eolian_function_return_comment_get(self, ftype) | ||
758 | if v == nil then return nil end | ||
759 | return ffi.string(v) | ||
760 | end, | ||
761 | |||
762 | return_documentation_get = function(self, ftype) | 723 | return_documentation_get = function(self, ftype) |
763 | local v = eolian.eolian_function_return_documentation_get(self, ftype) | 724 | local v = eolian.eolian_function_return_documentation_get(self, ftype) |
764 | if v == nil then return nil end | 725 | if v == nil then return nil end |
@@ -806,12 +767,6 @@ ffi.metatype("Eolian_Function_Parameter", { | |||
806 | return ffi.string(v) | 767 | return ffi.string(v) |
807 | end, | 768 | end, |
808 | 769 | ||
809 | description_get = function(self) | ||
810 | local v = eolian.eolian_parameter_description_get(self) | ||
811 | if v == nil then return nil end | ||
812 | return ffi.string(v) | ||
813 | end, | ||
814 | |||
815 | documentation_get = function(self) | 770 | documentation_get = function(self) |
816 | local v = eolian.eolian_parameter_documentation_get(self) | 771 | local v = eolian.eolian_parameter_documentation_get(self) |
817 | if v == nil then return nil end | 772 | if v == nil then return nil end |
@@ -915,12 +870,6 @@ ffi.metatype("Eolian_Event", { | |||
915 | return v | 870 | return v |
916 | end, | 871 | end, |
917 | 872 | ||
918 | description_get = function(self) | ||
919 | local v = eolian.eolian_event_description_get(self) | ||
920 | if v == nil then return nil end | ||
921 | return ffi.string(v) | ||
922 | end, | ||
923 | |||
924 | documentation_get = function(self) | 873 | documentation_get = function(self) |
925 | local v = eolian.eolian_event_documentation_get(self) | 874 | local v = eolian.eolian_event_documentation_get(self) |
926 | if v == nil then return nil end | 875 | if v == nil then return nil end |
@@ -993,12 +942,6 @@ M.Class = ffi.metatype("Eolian_Class", { | |||
993 | return tonumber(eolian.eolian_class_type_get(self)) | 942 | return tonumber(eolian.eolian_class_type_get(self)) |
994 | end, | 943 | end, |
995 | 944 | ||
996 | description_get = function(self) | ||
997 | local v = eolian.eolian_class_description_get(self) | ||
998 | if v == nil then return nil end | ||
999 | return ffi.string(v) | ||
1000 | end, | ||
1001 | |||
1002 | documentation_get = function(self) | 945 | documentation_get = function(self) |
1003 | local v = eolian.eolian_class_documentation_get(self) | 946 | local v = eolian.eolian_class_documentation_get(self) |
1004 | if v == nil then return nil end | 947 | if v == nil then return nil end |
@@ -1311,12 +1254,6 @@ M.Variable = ffi.metatype("Eolian_Variable", { | |||
1311 | return tonumber(eolian.eolian_variable_type_get(self)) | 1254 | return tonumber(eolian.eolian_variable_type_get(self)) |
1312 | end, | 1255 | end, |
1313 | 1256 | ||
1314 | description_get = function(self) | ||
1315 | local v = eolian.eolian_variable_description_get(self) | ||
1316 | if v == nil then return nil end | ||
1317 | return ffi.string(v) | ||
1318 | end, | ||
1319 | |||
1320 | documentation_get = function(self) | 1257 | documentation_get = function(self) |
1321 | local v = eolian.eolian_variable_documentation_get(self) | 1258 | local v = eolian.eolian_variable_documentation_get(self) |
1322 | if v == nil then return nil end | 1259 | if v == nil then return nil end |