summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-21 16:01:07 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-21 16:04:35 +0200
commit5ea0195661e88395ee3e7384db7acc3f03d52dc1 (patch)
tree395a85fe0bd2147a9d22311162fc5cd2d22384fd /src/bindings
parent34ef9c313989402d523951b2c20c7141d3bdce78 (diff)
eolian: remove @nullable keyword
This was an experiment that never properly took off and was never used by any generator. Its use was highly variable, so it could not be relied upon. We will still want to reverse the current behavior eventually (no null by default), but that will be done with eo file versioning in the future. @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 20118af15f..34da82c27b 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -370,7 +370,6 @@ ffi.cdef [[
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); 372 Eina_Bool eolian_parameter_is_nonull(const Eolian_Function_Parameter *param_desc);
373 Eina_Bool eolian_parameter_is_nullable(const Eolian_Function_Parameter *param_desc);
374 Eina_Bool eolian_parameter_is_optional(const Eolian_Function_Parameter *param_desc); 373 Eina_Bool eolian_parameter_is_optional(const Eolian_Function_Parameter *param_desc);
375 const Eolian_Type *eolian_function_return_type_get(const Eolian_Function *function_id, Eolian_Function_Type ftype); 374 const Eolian_Type *eolian_function_return_type_get(const Eolian_Function *function_id, Eolian_Function_Type ftype);
376 const Eolian_Expression *eolian_function_return_default_value_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype); 375 const Eolian_Expression *eolian_function_return_default_value_get(const Eolian_Function *foo_id, Eolian_Function_Type ftype);
@@ -1268,10 +1267,6 @@ ffi.metatype("Eolian_Function_Parameter", {
1268 return eolian.eolian_parameter_is_nonull(self) ~= 0 1267 return eolian.eolian_parameter_is_nonull(self) ~= 0
1269 end, 1268 end,
1270 1269
1271 is_nullable = function(self)
1272 return eolian.eolian_parameter_is_nullable(self) ~= 0
1273 end,
1274
1275 is_optional = function(self) 1270 is_optional = function(self)
1276 return eolian.eolian_parameter_is_optional(self) ~= 0 1271 return eolian.eolian_parameter_is_optional(self) ~= 0
1277 end 1272 end