Re: [E-devel] Eo/Eolian function pointers: use a struct?

2017-08-27 Thread Gustavo Sverzut Barbieri
Em dom, 27 de ago de 2017 às 23:20, Jean-Philippe André escreveu: > Hi Gustavo, > > 2017-08-28 0:18 GMT+09:00 Gustavo Sverzut Barbieri : > > > Hi all, > > > > q66 did a nice work to implement function pointers in Eolian, when you > > write this: > > > > (Wasn't it Lauro Maura?) Could be, assum

Re: [E-devel] Eo/Eolian function pointers: use a struct?

2017-08-27 Thread Jean-Philippe André
Hi Gustavo, 2017-08-28 0:18 GMT+09:00 Gustavo Sverzut Barbieri : > Hi all, > > q66 did a nice work to implement function pointers in Eolian, when you > write this: > (Wasn't it Lauro Maura?) function Function_Name { >params { > a: int; >} >return: bool; >

[E-devel] Eo/Eolian function pointers: use a struct?

2017-08-27 Thread Gustavo Sverzut Barbieri
Hi all, q66 did a nice work to implement function pointers in Eolian, when you write this: function Function_Name { params { a: int; } return: bool; } you can then use your method as: method_name { params { cb: Function_Name } } W