HomePhabricator

eolian_mono: avoid keyword as a variable name

Authored by Yeongjong Lee <yj34.lee@samsung.com> on Nov 12 2019, 5:14 AM.

Description

eolian_mono: avoid keyword as a variable name

Summary:

private static void relation_left_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity child, out Efl.Gfx.IEntity kw_base, out Efl.Gfx.Align relative_position)
{
    Eina.Log.Debug("function efl_ui_relative_container_relation_left_get was called");
    var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
    if (ws != null)
    {
        base = default(Efl.Gfx.IEntity);relative_position = default(Efl.Gfx.Align);

Parameter name is replaced with kw_base but base is not changed in assignment expression (base = default(Efl.Gfx.IEntity...).
This patch will fix following compiler error.

src/bindings/mono/efl_ui_relative_container.eo.cs(544,21): error CS1525: Unexpected symbol `=', expecting `.' or `['

Test Plan: ninja with D10640

Reviewers: lauromoura

Reviewed By: lauromoura

Subscribers: segfaultxavi, cedric, reviewers, committers

Tags: efl

Differential Revision: https://phab.enlightenment.org/D10639

Details

Committed
lauromouraNov 12 2019, 5:17 AM
Reviewer
lauromoura
Differential Revision
D10639: eolian_mono: avoid keyword as a variable name
Parents
rEFL77c1777ca2a9: mono: reduce duplicated event code
Branches
Unknown
Tags
Unknown
lauromoura committed rEFLa5daa2b72fa7: eolian_mono: avoid keyword as a variable name (authored by Yeongjong Lee <yj34.lee@samsung.com>).Nov 12 2019, 5:17 AM