summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/struct_definition.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-07-11 15:50:33 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-07-11 15:51:38 -0300
commita19bb21edf75256e8dfe043d591d05bbf23a29a3 (patch)
tree789cd6ca9f52637b1fd1889a15a58998c70c7cb3 /src/bin/eolian_mono/eolian/mono/struct_definition.hh
parent89399672b7a90451071d03b9403d8c8b698d67e1 (diff)
csharp: Tag exported API items.
Summary: Attributes to be used by the API export tool. For end users, no changes in the public API (except for a new attribute in generated classes). Also simplifies constructor forwarding by not needing to pass the type of the first "generated" class to compare. Currently only automatically generated items are tagged. Depends: D9259 Reviewers: vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9270
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/struct_definition.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/struct_definition.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/struct_definition.hh b/src/bin/eolian_mono/eolian/mono/struct_definition.hh
index 851b9c4025..c949783945 100644
--- a/src/bin/eolian_mono/eolian/mono/struct_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/struct_definition.hh
@@ -396,6 +396,7 @@ struct struct_definition_generator
396 if(!as_generator 396 if(!as_generator
397 ( 397 (
398 indent << "[StructLayout(LayoutKind.Sequential)]\n" 398 indent << "[StructLayout(LayoutKind.Sequential)]\n"
399 << indent << "[Efl.Eo.BindingEntity]\n"
399 << indent << "public struct " << string << "\n" 400 << indent << "public struct " << string << "\n"
400 << indent << "{\n" 401 << indent << "{\n"
401 ) 402 )