Changeset 2436 for trunk/src/emx/include/InnoTekLIBC/logstrict.h
- Timestamp:
- Nov 13, 2005, 12:35:02 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/InnoTekLIBC/logstrict.h
r2435 r2436 189 189 /** Macro to log a pointer return user error and do the return. */ 190 190 #define LIBCLOG_ERROR_RETURN_P(rc) LIBCLOG_ERROR_RETURN_MSG((rc), "ret %p\n", (void*)(rc)) 191 192 /** Macro to log an typical int return which is an error if negative and otherwise a success. */ 193 #define LIBCLOG_MIX_RETURN_INT(rc) do { if (rc < 0) LIBCLOG_ERROR_RETURN_INT(rc); LIBCLOG_RETURN_INT(rc); } while (0) 194 195 /** Macro to log an typical int return which is an error if not zero and otherwise a success. */ 196 #define LIBCLOG_MIX0_RETURN_INT(rc) do { if (rc) LIBCLOG_ERROR_RETURN_INT(rc); LIBCLOG_RETURN_INT(rc); } while (0) 191 197 192 198
Note:
See TracChangeset
for help on using the changeset viewer.