equal
deleted
inserted
replaced
251 NULL_CHECK_RETURN_VALUE(NC0_check_pointer, 0) |
251 NULL_CHECK_RETURN_VALUE(NC0_check_pointer, 0) |
252 |
252 |
253 #define NULL_CHECK(NC_check_pointer) \ |
253 #define NULL_CHECK(NC_check_pointer) \ |
254 NULL_CHECK_RETURN_VALUE(NC_check_pointer, ) |
254 NULL_CHECK_RETURN_VALUE(NC_check_pointer, ) |
255 |
255 |
|
256 #define CHECK_EXCEPTION_RETURN_VALUE(CER_value) \ |
|
257 do { \ |
|
258 if ((*env)->ExceptionOccurred(env)) { \ |
|
259 return CER_value; \ |
|
260 } \ |
|
261 } while (JNI_FALSE) |
|
262 |
256 #define CHECK_EXCEPTION_RETURN() \ |
263 #define CHECK_EXCEPTION_RETURN() \ |
257 do { \ |
264 do { \ |
258 if ((*env)->ExceptionOccurred(env)) { \ |
265 if ((*env)->ExceptionOccurred(env)) { \ |
259 return; \ |
266 return; \ |
260 } \ |
267 } \ |