Hi,

On Sat, Jun 17, 2017 at 5:17 AM, Felipe Magno de Almeida <
[email protected]> wrote:

> On Jun 16, 2017 11:10 PM, "Carsten Haitzler" <[email protected]> wrote:
>
> On Fri, 16 Jun 2017 19:48:51 -0300 Felipe Magno de Almeida
> <[email protected]> said:
>
> > Hello,
> >
> > Should handle types (opaque types always used by pointer) should be
> > supported for bindings or should we find an alternative for them in
> > Eolian interfaces?
>
> i'm not sure we need to look for alternatives. to me it's a very clean
> concept.
> it's a handle to something... which you can't dig around inside of and have
> a
> clear type...
>
>
> Maybe we should have a way to tag as a handle? Right now the equivalent is
> using __undefined_type, but I'm not sure if it is always the same thing. We
> might use __undefined_type for types that must be defined by the binding
> itself. Handles, OTH, have an unbounded limit and must assume the type is
> never defined.
>
> Regards,
>
>

Honestly, the current solution could use a bit of improvement:
  type @extern Efl.Text.Foo: __undefined_type;

This is not very self-explanatory IMHO.
I am wondering what bindings should do with the above info?
Also, why do we need the extra "@extern" AND the "__undefined_type".

And, how is that different from the following:
  struct Efl.Text.Foo;

So many options...

--
Danny (herdsman) Hirt


>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    [email protected]
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to