fc9ef5ee405668065ec3a25bef37e68717802cac
[framework/uifw/ecore.git] / src / lib / ecore_directfb / ecore_directfb_private.h
1 /* macro for a safe call to DirectFB functions */
2 #define DFBCHECK(x...) \
3      {                                                                 \
4           _err = x;                                                    \
5           if (_err != DFB_OK) {                                        \
6                fprintf( stderr, "%s <%d>:\n\t", __FILE__, __LINE__ );  \
7                DirectFBErrorFatal( #x, _err );                         \
8           }                                                            \
9      }
10
11 struct keymap
12 {
13         char *name;
14         char *string;
15 };