/*
 * Java-Gnome Bindings Library
 *
 * Copyright 1998-2002 the Java-Gnome Team, all rights reserved.
 *
 * The Java-Gnome Team Members:
 *   Jean Van Wyk <jeanvanwyk@iname.com>
 *   Jeffrey S. Morgan <jeffrey.morgan@bristolwest.com>
 *   Dan Bornstein <danfuzz@milk.com>
 *
 * The Java-Gnome bindings library is free software distributed under
 * the terms of the GNU Library General Public License version 2.
 *
 * This file was orriginally generated by the Java-GNOME Code Generator
 * Please do not modify the code that is identified as generated.  Also,
 * please insert your code above the generated code.
 *
 * Generation date: 2002-08-08 10:21:58 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gnome.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    /*
     * Class:     org.gnu.gnome.Url
     * Method:    gnome_url_show
     * Signature: (java.lang.String;[Lint ;)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gnome_Url_gnome_1url_1show (JNIEnv *env, jclass cls, 
        jstring url, jintArray error) 
    {
        const gchar* url_g = (*env)->GetStringUTFChars(env, url, 0);
        gint *error_g_g = (gint *) (*env)->GetIntArrayElements (env, error, 0);
        GError *error_g = (GError *)error_g_g;
        jboolean result_j = (jboolean) (gnome_url_show (url_g, &error_g));
        (*env)->ReleaseIntArrayElements (env, error, (jint*)error_g_g, 0);
        (*env)->ReleaseStringUTFChars(env, url, url_g);
        return result_j;
    }

    /****************************************
     * END OF GENERATED CODE
     ****************************************/
#ifdef __cplusplus
}

#endif
