Enlightenment CVS committal Author : cedric Project : e17 Module : proto/eina
Dir : e17/proto/eina/src/include Modified Files: eina_error.h Log Message: Hide the type. =================================================================== RCS file: /cvs/e/e17/proto/eina/src/include/eina_error.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- eina_error.h 1 Aug 2008 14:26:13 -0000 1.3 +++ eina_error.h 4 Aug 2008 17:00:30 -0000 1.4 @@ -24,12 +24,14 @@ EINA_ERROR_LEVELS } Eina_Error_Level; +typedef int Eina_Error; + EAPI int eina_error_init(void); EAPI int eina_error_shutdown(void); -EAPI int eina_error_register(const char *msg); -EAPI int eina_error_get(void); -EAPI void eina_error_set(int err); -EAPI const char * eina_error_msg_get(int error); +EAPI Eina_Error eina_error_register(const char *msg); +EAPI Eina_Error eina_error_get(void); +EAPI void eina_error_set(Eina_Error err); +EAPI const char * eina_error_msg_get(Eina_Error error); EAPI void eina_error_print(Eina_Error_Level level, const char *file, const char *function, int line, const char *fmt, ...); EAPI void eina_error_log_level_set(Eina_Error_Level level); ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs