diff options
author | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2019-01-24 04:48:22 +0900 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2019-01-31 16:15:01 +0900 |
commit | dab036406561d9309146f45cdda2f6d41c801698 (patch) | |
tree | 0994a705ea8e2acfbffc6e64f84453aa846042ee | |
parent | b03b8e355d9bd52e85af376ca8260039875676e0 (diff) | |
download | efl-dab036406561d9309146f45cdda2f6d41c801698.tar.gz |
eolian-mono: Fix returning stringshares
-rw-r--r-- | src/bin/eolian_mono/eolian/mono/marshall_annotation.hh | 2 |
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))]"; }}, |