Hi, We need to expose some API for creating an Eina_Future_Scheduler if it is to remain in eina_promise_new. The alternative is that we pass a simple Eo *parent instead and we could keep all the scheduler work internally.
Andy On Wed, 3 Jan 2018 at 13:17 Gustavo Sverzut Barbieri <barbi...@gmail.com> wrote: > On Wed, Jan 3, 2018 at 11:07 AM, Andrew Williams <a...@andywilliams.me> > wrote: > > Hi, > > > > I was concerned that, as this had been added in a legacy header, it may > > need to remain..? > > not a legacy header, rather a "eo-only" and "c-only" header... usually > for things that shouldn't be exposed to bindings, at least on an > automated way. > > eina_promise_new() is the one that uses that function, it's not > auto-generated by bindings. The idea is that high-level languages > (Python, C#, C++...) will expose this using their native promise, so > it's transparent... this all needs manual work, so exposing this > method in ".eo" to be parseable by eolian will not be useful. > > I recall that was the reason to not put it in ".eo", just in eo-only > and c-only header. > > > > -- > Gustavo Sverzut Barbieri > -------------------------------------- > Mobile: +55 (16) 99354-9890 <+55%2016%2099354-9890> > > > ------------------------------------------------------------------------------ > 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 > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- http://andywilliams.me http://ajwillia.ms ------------------------------------------------------------------------------ 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel