Changeset 15419
- Timestamp:
- Oct 29, 2007, 3:31:28 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psAssert.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psAssert.h
r15047 r15419 224 224 } 225 225 226 #define PS_ASSERT_PTR_NULL(NAME, RVAL) \ 227 if ((NAME) != NULL) { \ 228 psError(PS_ERR_BAD_PARAMETER_NULL, true, \ 229 "Unallowable operation: %s is not NULL.", \ 230 #NAME); \ 231 return RVAL; \ 232 } 233 226 234 #define PS_ASSERT_PTR_TYPE(NAME, TYPE, RVAL) \ 227 235 if ((NAME)->type.type != TYPE) { \
Note:
See TracChangeset
for help on using the changeset viewer.
