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

Function nativePushInternedString

valdi/src/valdi/android/MarshallerJNI.cpp:341–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341jint nativePushInternedString(jlong ptr, jlong propPtr) {
342 auto* marshaller = unwrap(nullptr, ptr);
343 if (marshaller == nullptr) {
344 return 0;
345 }
346
347 auto convertedStr = ValdiAndroid::unwrapInternedString(propPtr);
348 return static_cast<jint>(marshaller->push(Valdi::Value(convertedStr)));
349}
350
351jint nativePushFunction(JNIEnv* env,
352

Callers 1

pushInternedStringMethod · 0.85

Calls 4

unwrapFunction · 0.85
unwrapInternedStringFunction · 0.85
ValueClass · 0.50
pushMethod · 0.45

Tested by

no test coverage detected