equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
252 NULL_CHECK_RETURN_VALUE(NC0_check_pointer, 0) |
252 NULL_CHECK_RETURN_VALUE(NC0_check_pointer, 0) |
253 |
253 |
254 #define NULL_CHECK(NC_check_pointer) \ |
254 #define NULL_CHECK(NC_check_pointer) \ |
255 NULL_CHECK_RETURN_VALUE(NC_check_pointer, ) |
255 NULL_CHECK_RETURN_VALUE(NC_check_pointer, ) |
256 |
256 |
|
257 #define CHECK_EXCEPTION_RETURN() \ |
|
258 do { \ |
|
259 if ((*env)->ExceptionOccurred(env)) { \ |
|
260 return; \ |
|
261 } \ |
|
262 } while (JNI_FALSE) |
|
263 |
257 #endif /* _JAVA_H_ */ |
264 #endif /* _JAVA_H_ */ |