summaryrefslogtreecommitdiff
path: root/src/lib/eolian/eolian_database.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:41:22 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:41:22 +0200
commit13ddc5dbc165f3fead4a70301073bc901dbc1269 (patch)
tree2d4022f6bf3ffcf332efae28aae436e9b9a6f678 /src/lib/eolian/eolian_database.h
parentd0fed247bbb18933b3d5c086126ac0f7b8d05e76 (diff)
eolian: rename @warn_unused and its associated API
@warn_unused in syntax is now called @no_unused - this is because "warning about unused" is a C thing (or rather, an extension to C) and various languages might want to use stricter behavior for this. Its associated API does the reverse now - it lets you query whether being unused is allowed at all. This is to match future behavior of Eolian (once it supports versioning) that will likely reverse it. @feature
Diffstat (limited to 'src/lib/eolian/eolian_database.h')
-rw-r--r--src/lib/eolian/eolian_database.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eolian/eolian_database.h b/src/lib/eolian/eolian_database.h
index 03a8cbb..f74d0fa 100644
--- a/src/lib/eolian/eolian_database.h
+++ b/src/lib/eolian/eolian_database.h
@@ -225,8 +225,8 @@ struct _Eolian_Function
225 Eolian_Documentation *get_return_doc; 225 Eolian_Documentation *get_return_doc;
226 Eolian_Documentation *set_return_doc; 226 Eolian_Documentation *set_return_doc;
227 Eina_Bool obj_is_const :1; /* True if the object has to be const. Useful for a few methods. */ 227 Eina_Bool obj_is_const :1; /* True if the object has to be const. Useful for a few methods. */
228 Eina_Bool get_return_warn_unused :1; /* also used for methods */ 228 Eina_Bool get_return_no_unused :1; /* also used for methods */
229 Eina_Bool set_return_warn_unused :1; 229 Eina_Bool set_return_no_unused :1;
230 Eina_Bool is_class :1; 230 Eina_Bool is_class :1;
231 Eina_List *ctor_of; 231 Eina_List *ctor_of;
232 Eolian_Class *klass; 232 Eolian_Class *klass;