summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:25:15 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:25:15 +0200
commitd0fed247bbb18933b3d5c086126ac0f7b8d05e76 (patch)
tree875995d0b38022dcad4fac08a4d454254a6648bc /src/bindings
parent38d7d33354ce4d13d70f707498c267b120bf2e5a (diff)
eolian: remove param @nonull
This has been deprecated for a while and is not strictly necessary - as a part of an effort to stabilize Eolian, remove this. Eolian will eventually gain support for versioning and use a reversed behavior (i.e. no NULL by default), but the API it wlll use for that will be very different. Features can always be added, it's much harder to drop them. @feature
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eolian.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 34da82c27b..48f5027542 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -369,7 +369,6 @@ ffi.cdef [[
369 const Eolian_Type *eolian_parameter_type_get(const Eolian_Function_Parameter *param); 369 const Eolian_Type *eolian_parameter_type_get(const Eolian_Function_Parameter *param);
370 const Eolian_Expression *eolian_parameter_default_value_get(const Eolian_Function_Parameter *param); 370 const Eolian_Expression *eolian_parameter_default_value_get(const Eolian_Function_Parameter *param);
371 const Eolian_Documentation *eolian_parameter_documentation_get(const Eolian_Function_Parameter *param); 371 const Eolian_Documentation *eolian_parameter_documentation_get(const Eolian_Function_Parameter *param);
372 Eina_Bool eolian_parameter_is_nonull(const Eolian_Function_Parameter *param_desc);
373 Eina_Bool eolian_parameter_is_optional(const Eolian_Function_Parameter *param_desc); 372 Eina_Bool eolian_parameter_is_optional(const Eolian_Function_Parameter *param_desc);
374 const Eolian_Type *eolian_function_return_type_get(const Eolian_Function *function_id, Eolian_Function_Type ftype); 373 const Eolian_Type *eolian_function_return_type_get(const Eolian_Function *function_id, Eolian_Function_Type ftype);
375 const Eolian_Expression *eolian_function_return_default_value_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype); 374 const Eolian_Expression *eolian_function_return_default_value_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype);
@@ -1263,10 +1262,6 @@ ffi.metatype("Eolian_Function_Parameter", {
1263 return v 1262 return v
1264 end, 1263 end,
1265 1264
1266 is_nonull = function(self)
1267 return eolian.eolian_parameter_is_nonull(self) ~= 0
1268 end,
1269
1270 is_optional = function(self) 1265 is_optional = function(self)
1271 return eolian.eolian_parameter_is_optional(self) ~= 0 1266 return eolian.eolian_parameter_is_optional(self) ~= 0
1272 end 1267 end