MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkJavaGetId

Function vtkJavaGetId

Utilities/Java/vtkJavaUtil.cxx:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#endif
16
17JNIEXPORT jlong vtkJavaGetId(JNIEnv* env, jobject obj)
18{
19 jfieldID id;
20 jlong result;
21
22 id = env->GetFieldID(env->GetObjectClass(obj), "vtkId", "J");
23
24 result = env->GetLongField(obj, id);
25 return result;
26}
27
28JNIEXPORT void* vtkJavaGetPointerFromObject(JNIEnv* env, jobject obj)
29{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected