summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_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/lib/evas/canvas/efl_canvas_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 'src/lib/evas/canvas/efl_canvas_object.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_object.eo6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo
index 9fa27dc..7660b73 100644
--- a/src/lib/evas/canvas/efl_canvas_object.eo
+++ b/src/lib/evas/canvas/efl_canvas_object.eo
@@ -354,7 +354,7 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
354 354
355 See also @.clipper. 355 See also @.clipper.
356 ]] 356 ]]
357 return: iterator<Efl.Canvas.Object> @warn_unused; [[An iterator over the 357 return: iterator<Efl.Canvas.Object> @no_unused; [[An iterator over the
358 list of objects clipped by $obj.]] 358 list of objects clipped by $obj.]]
359 } 359 }
360 } 360 }
@@ -384,7 +384,7 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
384 clipped_objects_count @const { 384 clipped_objects_count @const {
385 [[Returns the number of objects clipped by $obj 385 [[Returns the number of objects clipped by $obj
386 ]] 386 ]]
387 return: uint @warn_unused; [[The number of objects clipped by $obj]] 387 return: uint @no_unused; [[The number of objects clipped by $obj]]
388 } 388 }
389 key_grab { 389 key_grab {
390 /* FIXME: can't reference Eolian object, .eo file not being installed */ 390 /* FIXME: can't reference Eolian object, .eo file not being installed */
@@ -411,7 +411,7 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
411 Warning: Providing impossible modifier sets creates undefined 411 Warning: Providing impossible modifier sets creates undefined
412 behavior. 412 behavior.
413 ]] 413 ]]
414 return: bool @warn_unused; [[$true if the call succeeded, $false otherwise.]] 414 return: bool @no_unused; [[$true if the call succeeded, $false otherwise.]]
415 params { 415 params {
416 @in keyname: string; [[The key to request events for.]] 416 @in keyname: string; [[The key to request events for.]]
417 @in modifiers: Efl.Input.Modifier; [[A combination of modifier 417 @in modifiers: Efl.Input.Modifier; [[A combination of modifier