Re: [E-devel] eina promise.... confusing

2016-05-31 Thread Felipe Magno de Almeida
On Tue, May 31, 2016 at 10:41 PM, Carsten Haitzler wrote: > [snip] > i just say - remove the void * for the job. same for timeout too - it's not > portable and the documentation is confusing as it claims to be data where it's > actually value... and value actually is a pointer TO the pointer you

Re: [E-devel] eina promise.... confusing

2016-05-31 Thread The Rasterman
On Tue, 31 May 2016 17:01:40 -0700 Cedric BAIL said: > On Tue, May 31, 2016 at 4:45 PM, Carsten Haitzler > wrote: > > On Tue, 31 May 2016 06:15:29 -0700 Cedric BAIL said: > > > >> On May 30, 2016 22:51, "Carsten Haitzler" wrote: > >> > > >> > the api for promises seems pretty confusing. just l

Re: [E-devel] eina promise.... confusing

2016-05-31 Thread Cedric BAIL
On Tue, May 31, 2016 at 4:45 PM, Carsten Haitzler wrote: > On Tue, 31 May 2016 06:15:29 -0700 Cedric BAIL said: > >> On May 30, 2016 22:51, "Carsten Haitzler" wrote: >> > >> > the api for promises seems pretty confusing. just look at this: >> > >> > job = efl_loop_job(obj, args); >> > eina_promi

Re: [E-devel] eina promise.... confusing

2016-05-31 Thread Cedric BAIL
On Tue, May 31, 2016 at 4:45 PM, Carsten Haitzler wrote: > On Tue, 31 May 2016 06:15:29 -0700 Cedric BAIL said: > >> On May 30, 2016 22:51, "Carsten Haitzler" wrote: >> > >> > the api for promises seems pretty confusing. just look at this: >> > >> > job = efl_loop_job(obj, args); >> >eina_

Re: [E-devel] eina promise.... confusing

2016-05-31 Thread The Rasterman
On Tue, 31 May 2016 11:48:32 -0300 Felipe Magno de Almeida said: > On Tue, May 31, 2016 at 10:15 AM, Cedric BAIL wrote: > > On May 30, 2016 22:51, "Carsten Haitzler" wrote: > >> > >> the api for promises seems pretty confusing. just look at this: > >> > >> job = efl_loop_job(obj, args); > >>

Re: [E-devel] eina promise.... confusing

2016-05-31 Thread The Rasterman
On Tue, 31 May 2016 06:15:29 -0700 Cedric BAIL said: > On May 30, 2016 22:51, "Carsten Haitzler" wrote: > > > > the api for promises seems pretty confusing. just look at this: > > > > job = efl_loop_job(obj, args); > >eina_promise_then(job, _efl_loop_args_job_cb, NULL, args); > > > > why d

Re: [E-devel] eina promise.... confusing

2016-05-31 Thread Felipe Magno de Almeida
On Tue, May 31, 2016 at 10:15 AM, Cedric BAIL wrote: > On May 30, 2016 22:51, "Carsten Haitzler" wrote: >> >> the api for promises seems pretty confusing. just look at this: >> >> job = efl_loop_job(obj, args); >>eina_promise_then(job, _efl_loop_args_job_cb, NULL, args); >> >> why do i need

Re: [E-devel] eina promise.... confusing

2016-05-31 Thread Cedric BAIL
On May 30, 2016 22:51, "Carsten Haitzler" wrote: > > the api for promises seems pretty confusing. just look at this: > > job = efl_loop_job(obj, args); >eina_promise_then(job, _efl_loop_args_job_cb, NULL, args); > > why do i need to pass in args... TWICE? well ok - this specific way of using