/[classpath]/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
ViewVC logotype

Diff of /classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by mark, Tue Oct 26 23:50:04 2004 UTC revision 1.3 by mkoch, Thu Oct 28 20:58:25 2004 UTC
# Line 48  exception statement from your version. * Line 48  exception statement from your version. *
48   *   *
49   */   */
50  JNIEXPORT void JNICALL  JNIEXPORT void JNICALL
51  Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun(JNIEnv *gdk_env __attribute__((unused)), jobject lcl_obj __attribute__((unused)), jlong funcAddr, jlong funcArg)  Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun
52      (JNIEnv *gdk_env __attribute__((unused)),
53       jobject lcl_obj __attribute__((unused)),
54       jlong funcAddr, jlong funcArg)
55  {  {
56    /* Convert the function's address back into a pointer to a C function. */    /* Convert the function's address back into a pointer to a C function. */
57    void *(*funcPtr)(void *) = (void *(*)(void *)) (size_t)funcAddr;    void *(*funcPtr)(void *) = (void *(*)(void *)) (size_t)funcAddr;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26