efl_mono: remove '_' from type for C# naming convention
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 14 Jan 2019 06:21:21 +0000 (15:21 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Wed, 16 Jan 2019 04:10:34 +0000 (13:10 +0900)
commitd2961e267a4fd5572eb0a6295ccc9fd46fddb375
tree99b49c1550ae9a03cf3fae803d0c707a9c796b11
parent5ff86c3d7ccfdec572c628b2969cbaf87e9be2d8
efl_mono: remove '_' from type for C# naming convention

Summary:
"type" in .eo is converted to "struct" in .eo.cs.
Since the type name in .eo is the same with the struct name .eo.cs,
'_' is removed from the converted struct in .eo.cs for C# naming
convention.

For example, Efl.Callback_Priority is defined in efl_object.eo and
the name is converted to Efl.CallbackPriority in efl_object.eo.cs.

Efl.Access.StateSet in workaround.cs causes duplicated definition
with this patch so Efl.Access.StateSet in workaround.cs is removed.

Test Plan: Compile with autogen.sh --enable-csharp-bindings

Reviewers: lauromoura, segfaultxavi, felipealmeida

Reviewed By: felipealmeida

Subscribers: segfaultxavi, cedric, #reviewers, #committers, woohyun

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7597
src/bin/eolian_mono/eolian/mono/alias_definition.hh
src/bin/eolian_mono/eolian/mono/name_helpers.hh
src/bindings/mono/eo_mono/workaround.cs