summaryrefslogtreecommitdiff
path: root/src/tests/eolian_js/test_object.eo
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/tests/eolian_js/test_object.eo
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 '')
-rw-r--r--src/tests/eolian_js/test_object.eo4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eolian_js/test_object.eo b/src/tests/eolian_js/test_object.eo
index d1aed0a..8802fdd 100644
--- a/src/tests/eolian_js/test_object.eo
+++ b/src/tests/eolian_js/test_object.eo
@@ -104,7 +104,7 @@ class Test.Object extends Efl.Object {
104 } 104 }
105 method_array_with_42_check { 105 method_array_with_42_check {
106 [[ tests parameters ]] 106 [[ tests parameters ]]
107 return: array<int> @owned @warn_unused; 107 return: array<int> @owned @no_unused;
108 } 108 }
109 method_array_in_array_out_check { 109 method_array_in_array_out_check {
110 [[ tests parameters ]] 110 [[ tests parameters ]]
@@ -157,7 +157,7 @@ class Test.Object extends Efl.Object {
157 } 157 }
158 method_list_with_42_check { 158 method_list_with_42_check {
159 [[ tests parameters ]] 159 [[ tests parameters ]]
160 return: list<int> @owned @warn_unused; 160 return: list<int> @owned @no_unused;
161 } 161 }
162 method_list_in_list_out_check { 162 method_list_in_list_out_check {
163 [[ tests parameters ]] 163 [[ tests parameters ]]