summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh b/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh
index e14369a..2ede209 100644
--- a/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh
+++ b/src/bin/eolian_mono/eolian/mono/marshall_type_impl.hh
@@ -55,8 +55,8 @@ struct marshall_type_visitor_generate
55 { 55 {
56 regular_type_def r = regular; 56 regular_type_def r = regular;
57 r.base_qualifier.qualifier ^= qualifier_info::is_ref; 57 r.base_qualifier.qualifier ^= qualifier_info::is_ref;
58 if (is_inherit_native && (is_return || is_out)) 58 // if (is_inherit_native && (is_return || is_out))
59 return replace_base_type(r, " System.IntPtr"); 59 // return replace_base_type(r, " System.IntPtr");
60 return replace_base_type(r, " System.String"); 60 return replace_base_type(r, " System.String");
61 }} 61 }}
62 , {"mstring", true, [&] 62 , {"mstring", true, [&]
@@ -71,8 +71,8 @@ struct marshall_type_visitor_generate
71 { 71 {
72 regular_type_def r = regular; 72 regular_type_def r = regular;
73 r.base_qualifier.qualifier ^= qualifier_info::is_ref; 73 r.base_qualifier.qualifier ^= qualifier_info::is_ref;
74 if (is_inherit_native && (is_return || is_out)) 74 // if (is_inherit_native && (is_return || is_out))
75 return replace_base_type(r, " System.IntPtr"); 75 // return replace_base_type(r, " System.IntPtr");
76 return replace_base_type(r, " System.String"); 76 return replace_base_type(r, " System.String");
77 }} 77 }}
78 , {"stringshare", true, [&] 78 , {"stringshare", true, [&]
@@ -85,9 +85,9 @@ struct marshall_type_visitor_generate
85 { 85 {
86 regular_type_def r = regular; 86 regular_type_def r = regular;
87 r.base_qualifier.qualifier ^= qualifier_info::is_ref; 87 r.base_qualifier.qualifier ^= qualifier_info::is_ref;
88 if (is_inherit_native && (is_return || is_out)) 88 // if (is_inherit_native && (is_return || is_out))
89 return replace_base_type(r, " System.IntPtr"); 89 // return replace_base_type(r, " System.IntPtr");
90 else 90 // else
91 return replace_base_type(r, " System.String"); 91 return replace_base_type(r, " System.String");
92 }} 92 }}
93 , {"strbuf", nullptr, [&] 93 , {"strbuf", nullptr, [&]