Generated mono bindings do not match docs #27

Open
opened 4 months ago by rggammon · 3 comments

I built the c# bindings with .net core 7 on windows, and I am noticing a few differences between the bindings and the samples eg:

A "Csharp" namespace -

Efl.Csharp.Components.Ui instead of Efl.Components.Ui

win.Text instead of win.SetText

win.Text = "Hello, C#!!";

Efl.All.Init(Efl.Csharp.Components.Ui);

Efl.Ui.Win win = new Efl.Ui.Win(null, "Hello C#");
win.Text = "Hello, C#!!";

I am not sure if this is expected, or related to my build environment.

I built the c# bindings with .net core 7 on windows, and I am noticing a few differences between the bindings and the samples eg: A "Csharp" namespace - > Efl.Csharp.Components.Ui instead of Efl.Components.Ui win.Text instead of win.SetText > win.Text = "Hello, C#!!"; Efl.All.Init(Efl.Csharp.Components.Ui); Efl.Ui.Win win = new Efl.Ui.Win(null, "Hello C#"); win.Text = "Hello, C#!!"; I am not sure if this is expected, or related to my build environment.
Collaborator

i have no answer (yet) but just for me: did you also try to compile with mono ? What is your meson command please ?

i have no answer (yet) but just for me: did you also try to compile with mono ? What is your meson command please ?
Poster

Re: the Efl.Components.Ui issue, this looks like it was a code change to make it Efl.Csharp.Components.Ui

0860c4f1d7

would updating the docs be ok for this issue (adding the "Csharp" to Efl.Csharp.Components.Ui)? I could also run down what changed for the other things that are not compiling.
https://www.enlightenment.org/develop/tutorials/csharp/hello-world-cs.md

Re: the Efl.Components.Ui issue, this looks like it was a code change to make it Efl.Csharp.Components.Ui https://github.com/Enlightenment/efl/commit/0860c4f1d7a6fa0f6ecae556cf35d33fa7c13a66 would updating the docs be ok for this issue (adding the "Csharp" to Efl.Csharp.Components.Ui)? I could also run down what changed for the other things that are not compiling. https://www.enlightenment.org/develop/tutorials/csharp/hello-world-cs.md
Poster

meson --libdir=lib --default-library shared -Dsystemd=false -Dpulseaudio=false -Dv4l2=false -Dlibmount=false -Deeze=false -Dx11=false -Dxinput2=false -Devas-loaders-disabler='pdf','ps','rsvg','json' -Dopengl=none -Dpixman=true -Dembedded-lz4=false -Dfribidi=true -Dinput=false -Dbuild-examples=false -Dbuild-tests=false -Dbindings='mono','lua','cxx' -Dlua-interpreter=luajit -Delua=true -Ddotnet=true build

meson --libdir=lib --default-library shared -Dsystemd=false -Dpulseaudio=false -Dv4l2=false -Dlibmount=false -Deeze=false -Dx11=false -Dxinput2=false -Devas-loaders-disabler='pdf','ps','rsvg','json' -Dopengl=none -Dpixman=true -Dembedded-lz4=false -Dfribidi=true -Dinput=false -Dbuild-examples=false -Dbuild-tests=false -Dbindings='mono','lua','cxx' -Dlua-interpreter=luajit -Delua=true -Ddotnet=true build
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: enlightenment/efl#27
Loading…
There is no content yet.