equal
deleted
inserted
replaced
983 extern "C" { |
983 extern "C" { |
984 |
984 |
985 JNIEXPORT void JNICALL |
985 JNIEXPORT void JNICALL |
986 Java_java_awt_Font_initIDs(JNIEnv *env, jclass cls) |
986 Java_java_awt_Font_initIDs(JNIEnv *env, jclass cls) |
987 { |
987 { |
988 CHECK_NULL(AwtFont::peerMID = env->GetMethodID(cls, "getPeer", |
988 CHECK_NULL(AwtFont::peerMID = env->GetMethodID(cls, "getFontPeer", |
989 "()Ljava/awt/peer/FontPeer;")); |
989 "()Ljava/awt/peer/FontPeer;")); |
990 CHECK_NULL(AwtFont::pDataID = env->GetFieldID(cls, "pData", "J")); |
990 CHECK_NULL(AwtFont::pDataID = env->GetFieldID(cls, "pData", "J")); |
991 CHECK_NULL(AwtFont::nameID = |
991 CHECK_NULL(AwtFont::nameID = |
992 env->GetFieldID(cls, "name", "Ljava/lang/String;")); |
992 env->GetFieldID(cls, "name", "Ljava/lang/String;")); |
993 CHECK_NULL(AwtFont::sizeID = env->GetFieldID(cls, "size", "I")); |
993 CHECK_NULL(AwtFont::sizeID = env->GetFieldID(cls, "size", "I")); |