summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-24 04:48:22 +0900
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-31 16:15:01 +0900
commitdab036406561d9309146f45cdda2f6d41c801698 (patch)
tree0994a705ea8e2acfbffc6e64f84453aa846042ee
parentb03b8e355d9bd52e85af376ca8260039875676e0 (diff)
downloadefl-dab036406561d9309146f45cdda2f6d41c801698.tar.gz
eolian-mono: Fix returning stringshares
-rw-r--r--src/bin/eolian_mono/eolian/mono/marshall_annotation.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/marshall_annotation.hh b/src/bin/eolian_mono/eolian/mono/marshall_annotation.hh
index 43c80600a7..ee4c4747df 100644
--- a/src/bin/eolian_mono/eolian/mono/marshall_annotation.hh
+++ b/src/bin/eolian_mono/eolian/mono/marshall_annotation.hh
@@ -221,7 +221,7 @@ struct marshall_native_annotation_visitor_generate
{"stringshare", true, [&] {
return " [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringsharePassOwnershipMarshaler))]";
}},
- {"stringshare", false, [&] { return ""; }},
+ {"stringshare", false, [&] { return "[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringshareKeepOwnershipMarshaler))]"; }},
{"strbuf", true, [&] {
return " [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufPassOwnershipMarshaler))]";
}},