Home
last modified time | relevance | path

Searched refs:ret_t (Results 1 – 1 of 1) sorted by relevance

/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp280 #define DEC_TEST_FN_IMPL(name, ret_t, ...) \ argument
281 static ret_t name (__VA_ARGS__) { return TestReturnAnything{}; }
283 #define DEC_TEST_FN(name, correct, ret_t, ...) \ argument
284 DEC_TEST_FN_IMPL(normal_ ## name, ret_t, JNIEnv*, jobject, __VA_ARGS__) \
285 DEC_TEST_FN_IMPL(normal2_ ## name, ret_t, JNIEnv*, jclass, __VA_ARGS__) \
286 DEC_TEST_FN_IMPL(critical_ ## name, ret_t, __VA_ARGS__)
288 #define DEC_TEST_FN0(name, correct, ret_t) \ argument
289 DEC_TEST_FN_IMPL(normal_ ## name, ret_t, JNIEnv*, jobject) \
290 DEC_TEST_FN_IMPL(normal2_ ## name, ret_t, JNIEnv*, jclass) \
291 DEC_TEST_FN_IMPL(critical_ ## name, ret_t)