summaryrefslogtreecommitdiff
path: root/src/lib/ector
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-11-03 15:30:10 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-11-03 15:30:10 +0100
commit0dbbb18171d58482553d1c76e13ff50e56776ac0 (patch)
tree0290d657713a373e1c047e99328868fd19e8e062 /src/lib/ector
parente5d1cc731a6ea6d8336b6b887352f7a4e02537ae (diff)
eolian: disallow ptr() on things that are already pointer-like
This disallows deeply nested pointers, you can only explicitly ptr() on types that are strictly value types. For a few cases where it was necessary to override this behavior, you can use legacy(ptr(x)) as a temporary measure.
Diffstat (limited to 'src/lib/ector')
-rw-r--r--src/lib/ector/cairo/ector_cairo_surface.eo2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ector/cairo/ector_cairo_surface.eo b/src/lib/ector/cairo/ector_cairo_surface.eo
index 31f68e400c..7967c4d348 100644
--- a/src/lib/ector/cairo/ector_cairo_surface.eo
+++ b/src/lib/ector/cairo/ector_cairo_surface.eo
@@ -1,4 +1,4 @@
1type @extern cairo_t: void_ptr; [[cairo_t type]] 1struct @extern cairo_t; [[cairo_t type]]
2 2
3class Ector.Cairo.Surface (Efl.Object, Ector.Surface) 3class Ector.Cairo.Surface (Efl.Object, Ector.Surface)
4{ 4{