summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_map.eo
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/elementary/elm_map.eo
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 '')
-rw-r--r--src/lib/elementary/elm_map.eo2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_map.eo b/src/lib/elementary/elm_map.eo
index 7f5376ad85..908444da84 100644
--- a/src/lib/elementary/elm_map.eo
+++ b/src/lib/elementary/elm_map.eo
@@ -431,7 +431,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable,
431 431
432 At least available sources of name type are "Nominatim". 432 At least available sources of name type are "Nominatim".
433 ]] 433 ]]
434 return: ptr(string); [[The char pointer array of source names.]] 434 return: legacy(ptr(string)); [[The char pointer array of source names.]]
435 params { 435 params {
436 @in type: Elm.Map.Source_Type; [[Source type.]] 436 @in type: Elm.Map.Source_Type; [[Source type.]]
437 } 437 }