MCPcopy Create free account
hub / github.com/Snapchat/Valdi / checkNotNull

Function checkNotNull

valdi/src/valdi/android/MarshallerJNI.cpp:126–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126bool checkNotNull(JNIEnv* env, jobject object) {
127 if (object == nullptr) {
128 throwJavaMarshallerException(env, Valdi::Error("Object is null"));
129 return false;
130 }
131 return true;
132}
133
134jlong nativeCreate() {
135 Valdi::Marshaller* marshaller = new AndroidMarshaller();

Callers 2

nativePushFunctionFunction · 0.70

Calls 2

ErrorInterface · 0.50

Tested by

no test coverage detected