uint32_t Xxh32::digest() { Lock lock(mut); if(st) { return XXH32_intermediateDigest(st.get()); } else { return 0; } }
/* * Class: net_jpountz_xxhash_XXHashJNI * Method: XXH32_intermediateDigest * Signature: (J)I */ JNIEXPORT jint JNICALL Java_net_jpountz_xxhash_XXHashJNI_XXH32_1intermediateDigest (JNIEnv *env, jclass cls, jlong state) { return XXH32_intermediateDigest((void*) state); }