/*
 * 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-01 07:00:29 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gdk/gdk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    gint32 GdkSpan_get_x (GdkSpan * cptr) 
    {
        return cptr->x;
    }

    /*
     * Class:     org.gnu.gdk.Span
     * Method:    getX
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Span_getX (JNIEnv *env, jclass cls, jint obj) 
    {
        GdkSpan *obj_g = (GdkSpan *)obj;
        {
            jint result_j = (jint) (GdkSpan_get_x (obj_g));
            return result_j;
        }
    }

    void GdkSpan_set_x (GdkSpan * cptr, gint32 x) 
    {
        cptr->x = x;
    }

    /*
     * Class:     org.gnu.gdk.Span
     * Method:    setX
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gdk_Span_setX (JNIEnv *env, jint obj, jint x) 
    {
        GdkSpan *obj_g = (GdkSpan *)obj;
        gint32 x_g = (gint32) x;
        {
            GdkSpan_set_x (obj_g, x_g);
        }
    }

    gint32 GdkSpan_get_y (GdkSpan * cptr) 
    {
        return cptr->y;
    }

    /*
     * Class:     org.gnu.gdk.Span
     * Method:    getY
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Span_getY (JNIEnv *env, jclass cls, jint obj) 
    {
        GdkSpan *obj_g = (GdkSpan *)obj;
        {
            jint result_j = (jint) (GdkSpan_get_y (obj_g));
            return result_j;
        }
    }

    void GdkSpan_set_y (GdkSpan * cptr, gint32 y) 
    {
        cptr->y = y;
    }

    /*
     * Class:     org.gnu.gdk.Span
     * Method:    setY
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gdk_Span_setY (JNIEnv *env, jint obj, jint y) 
    {
        GdkSpan *obj_g = (GdkSpan *)obj;
        gint32 y_g = (gint32) y;
        {
            GdkSpan_set_y (obj_g, y_g);
        }
    }

    gint32 GdkSpan_get_width (GdkSpan * cptr) 
    {
        return cptr->width;
    }

    /*
     * Class:     org.gnu.gdk.Span
     * Method:    getWidth
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gdk_Span_getWidth (JNIEnv *env, jclass cls, jint obj) 
    {
        GdkSpan *obj_g = (GdkSpan *)obj;
        {
            jint result_j = (jint) (GdkSpan_get_width (obj_g));
            return result_j;
        }
    }

    void GdkSpan_set_width (GdkSpan * cptr, gint32 width) 
    {
        cptr->width = width;
    }

    /*
     * Class:     org.gnu.gdk.Span
     * Method:    setWidth
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gdk_Span_setWidth (JNIEnv *env, jint obj, jint width) 
    {
        GdkSpan *obj_g = (GdkSpan *)obj;
        gint32 width_g = (gint32) width;
        {
            GdkSpan_set_width (obj_g, width_g);
        }
    }

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

#endif
