src/PowerAuth/jni/SessionJNI.cpp
//
// private native void destroy(long handle)
//
private native void destroy(long handle)
private native void destroy ( long handle )
CC7_JNI_METHOD_PARAMS(void, destroy, jlong handle)
{
	auto session = CC7_THIS_OBJ();
	if (!session || (jlong)session != handle) {
		CC7_ASSERT(false, "Internal object is already destroyed, or provided handle is not ours.");
		return;
	}
	delete session;
}
CC7_JNI_METHOD_PARAMS ( void , destroy , jlong handle ) { auto session = CC7_THIS_OBJ ( ) ; if ( ! session || ( jlong ) session != handle ) { CC7_ASSERT ( false , " " ) ; return ; } delete session ; }
private native void destroy(long handle)
private native void destroy ( long handle )