-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcpp_end_easy_method.cpp
More file actions
13 lines (12 loc) · 881 Bytes
/
cpp_end_easy_method.cpp
File metadata and controls
13 lines (12 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
//%%% Lines beginning with "//%%%" are template comments and removed from final output.
//%%% "%NAMESPACE%" will be replaced with namespace
//%%% "%HEADER%" will be replaced with header
//%%% "%HEADER_DEFINE%" will be replaced with defined value used to prevent multiple inclusion
//%%% "%CLASS_NAME%" will be replaced with className (not including package)
//%%% "%JNI_SIGNATURE% will be replaced with the JNI signature for the method.
//%%% "%METHOD_NAME% will be replaced with the actual methods arguments
//%%% "%METHOD_ARGS% will be replaced with the actual methods arguments
//%%% "%METHOD_ONFAIL% will be replaced with the code to execute on failure eg return -1
//%%% "%METHOD_CALL_TYPE% will be replaced with the type of Call<Type>Method needed.
//%%% "%METHOD_RETURN%" will be replaced with "return" or "" for void functions.
releaseEnv(env);