Cedric,

Any reason why Eio_Filter_Direct_Cb and Eio_Filter_Dir_Cb are
different given a 'const' on the last argument? It seems to make no
sense.

http://trac.enlightenment.org/e/browser/trunk/eio/src/lib/Eio.h#L128

My use case is to have a function with a parameter "recursive",
whenever it's true I want to use 'eio_dir_stat_ls()' otherwise
'eio_file_stat_ls()'.  To do so I'm assigning the filter Cb to a local
variable and calling the proper function with the variable... but I
can't without warnings due this.

I really expect it's a mistake, then just add the missing const and
let's be happy :-)

--
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to