JNIEXPORT jlong JNICALL Java_org_gnome_gtk_GtkPrintContext_gtk_1print_1context_1get_1pango_1fontmap ( JNIEnv* env, jclass cls, jlong _self ) { PangoFontMap* result; jlong _result; GtkPrintContext* self; // convert parameter self self = (GtkPrintContext*) _self; // call function result = gtk_print_context_get_pango_fontmap(self); // cleanup parameter self // translate return value to JNI type _result = (jlong) result; // cleanup return value if (result != NULL) { bindings_java_memory_cleanup((GObject*)result, FALSE); } // and finally return _result; }
/* Fonts */ static VALUE rg_pango_fontmap(VALUE self) { return GOBJ2RVAL(gtk_print_context_get_pango_fontmap(_SELF(self))); }