Hello.
On 03.06.20 10:55, Quelrond wrote:
Hello!
On 03/06/2020 09:47, Stefan Schmidt wrote:
Hello
On 02.06.20 19:10, Quelrond wrote:
It will be usable to create bindings for some languages. For example,
I tried to create Nim bindings, but their tool analyses headers and
EFL/Elementary headers have too complex structure, so it was failed.
Sorry, but Efl_One.h header would not be the correct way to solve
this. The complexity would be still there, as we would only include
our existing headers into this one.
If you can provide details on what is failing on their analyses of our
headers we might be able to look into this.
The way of creation C/C++ bindings in Nim is straightforward and simple
in case of presence of ONE header and ONE *.so library. There is a tool
that analyses the header and creates Nim file with functions/objects
that wrap C/C++ functions/objects. Then one just need to use that
wrapper and dynamically load the library and it's all done. In case of
including other headers from the first one (and presence of several *.so
files) the situation becomes much more complex. There are several tools
to work with such headers/libs, but they are all highly experimental and
don't work for any lib. So, I've just tried to use on of these tools to
analyze elementary.h - the tool was crashed, that's all :) So, probably
I'll wait for a better tool Nim side or for Efl.h EFL side ;)
I fear that model of the generator is to simple to generate bindings for
EFL, sorry.
regards
Stefan Schmidt
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel