equal
deleted
inserted
replaced
276 */ |
276 */ |
277 |
277 |
278 #define IS_NULL(obj) ((obj) == NULL) |
278 #define IS_NULL(obj) ((obj) == NULL) |
279 #define JNU_IsNull(env,obj) ((obj) == NULL) |
279 #define JNU_IsNull(env,obj) ((obj) == NULL) |
280 |
280 |
|
281 /************************************************************************ |
|
282 * Miscellaneous utilities used by the class libraries to check for exceptions |
|
283 */ |
|
284 |
|
285 #define CHECK_NULL(x) if ((x) == NULL) return; |
|
286 #define CHECK_NULL_RETURN(x, y) if ((x) == NULL) return (y); |
|
287 |
|
288 #define CHECK_EXCEPTION(env) if ((*env)->ExceptionCheck(env)) return; |
|
289 #define CHECK_EXCEPTION_RETURN(env, y) if ((*env)->ExceptionCheck(env)) return (y); |
281 |
290 |
282 /************************************************************************ |
291 /************************************************************************ |
283 * Debugging utilities |
292 * Debugging utilities |
284 */ |
293 */ |
285 |
294 |