/*
 * 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-07-31 13:44:43 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <pango/pango.h>
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    /*
     * Class:     org.gnu.pango.AttrIterator
     * Method:    pango_attr_iterator_range
     * Signature: (I[Lint ;[Lint ;)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_pango_AttrIterator_pango_1attr_1iterator_1range (JNIEnv 
        *env, jclass cls, jint iterator, jintArray start, jintArray end) 
    {
        PangoAttrIterator *iterator_g = (PangoAttrIterator *)iterator;
        gint *start_g = (gint *) (*env)->GetIntArrayElements (env, start, NULL);
        gint *end_g = (gint *) (*env)->GetIntArrayElements (env, end, NULL);
        {
            pango_attr_iterator_range (iterator_g, start_g, end_g);
            (*env)->ReleaseIntArrayElements (env, start, (jint *) start_g, 0);
            (*env)->ReleaseIntArrayElements (env, end, (jint *) end_g, 0);
        }
    }

    /*
     * Class:     org.gnu.pango.AttrIterator
     * Method:    pango_attr_iterator_next
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_pango_AttrIterator_pango_1attr_1iterator_1next (JNIEnv 
        *env, jclass cls, jint iterator) 
    {
        PangoAttrIterator *iterator_g = (PangoAttrIterator *)iterator;
        {
            jboolean result_j = (jboolean) (pango_attr_iterator_next (iterator_g));
            return result_j;
        }
    }

    /*
     * Class:     org.gnu.pango.AttrIterator
     * Method:    pango_attr_iterator_copy
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_pango_AttrIterator_pango_1attr_1iterator_1copy (JNIEnv 
        *env, jclass cls, jint iterator) 
    {
        PangoAttrIterator *iterator_g = (PangoAttrIterator *)iterator;
        {
            return (jint)pango_attr_iterator_copy (iterator_g);
        }
    }

    /*
     * Class:     org.gnu.pango.AttrIterator
     * Method:    pango_attr_iterator_destroy
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_pango_AttrIterator_pango_1attr_1iterator_1destroy (JNIEnv 
        *env, jclass cls, jint iterator) 
    {
        PangoAttrIterator *iterator_g = (PangoAttrIterator *)iterator;
        {
            pango_attr_iterator_destroy (iterator_g);
        }
    }

    /*
     * Class:     org.gnu.pango.AttrIterator
     * Method:    pango_attr_iterator_get
     * Signature: (II)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_pango_AttrIterator_pango_1attr_1iterator_1get (JNIEnv *env, 
        jclass cls, jint iterator, jint type) 
    {
        PangoAttrIterator *iterator_g = (PangoAttrIterator *)iterator;
        PangoAttrType type_g = (PangoAttrType) type;
        {
            return (jint)pango_attr_iterator_get (iterator_g, type_g);
        }
    }

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

#endif
