break;
case KW_at_optional:
CASE_LOCK(ls, optional, "optional qualifier");
+ par->optional = EINA_TRUE;
eo_lexer_get(ls);
break;
case KW_at_nullable:
if (has_nonull)
eo_lexer_syntax_error(ls, "both nullable and nonull specified");
CASE_LOCK(ls, nullable, "c_only qualifier");
+ par->nullable = EINA_TRUE;
eo_lexer_get(ls);
break;
default:
Eolian_Parameter_Dir param_dir;
Eina_Bool is_const_on_get :1; /* True if const in this the get property */
Eina_Bool is_const_on_set :1; /* True if const in this the set property */
- Eina_Bool nonull :1; /* True if this argument cannot be NULL */
+ Eina_Bool nonull :1; /* True if this argument cannot be NULL - deprecated */
+ Eina_Bool nullable :1; /* True if this argument is nullable */
+ Eina_Bool optional :1; /* True if this argument is optional */
};
struct _Eolian_Type