Hi all,

I'm thinking on how to more easily map errno.h to eina_error.h. One
possibility is to manually declare all types and strings, then a
function to map one to another.

However, since the numbers are allocated dynamically at runtime, what
if we simply start at a higher number (ie: 256) and consider whatever
is smaller than that to be errno? We can proxy eina_error_msg_get() to
return strerror().

What's your take on that?

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Mobile: +55 (16) 99354-9890

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to