Skip to main content

where to find pGetSurface

1 reply [Last post]
yelin
Offline
Joined: 2010-06-30

In jvm/ocap_vmlib/awt/java/awt, MPEGraphicsDevice.java defines a native interface:
private native static int pGetSurface(int deviceHandle);

I found its corresponding JNI header file (see code snippet below) but couldn't find how it's implemented. Could anyone here tell me where the c source file is?
/*
* Class: java_awt_MPEGraphicsDevice
* Method: pGetSurface
* Signature: (I)I
*/
JNIEXPORT jint JNICALL Java_java_awt_MPEGraphicsDevice_pGetSurface
(JNIEnv *, jclass, jint);

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yelin
Offline
Joined: 2010-06-30

Sorry, i just found it under jvm/ocap_vmlib/awt/native.