/*
 * 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-02 09:42:18 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C"
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    gint32 GtkObject_get_flags (GtkObject * cptr)
    {
        return cptr->flags;
    }

    /*
     * Class:     org.gnu.gtk.GtkObject
     * Method:    getFlags
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_GtkObject_getFlags (JNIEnv *env, jclass cls, jint obj)
    {
        GtkObject *obj_g = (GtkObject *)obj;
        {
            jint result_j = (jint) (GtkObject_get_flags (obj_g));
            return result_j;
        }
    }

    void GtkObject_set_flags (GtkObject * cptr, gint32 flags)
    {
        cptr->flags = flags;
    }

    /*
     * Class:     org.gnu.gtk.GtkObject
     * Method:    setFlags
     * Signature: (II)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_GtkObject_setFlags (JNIEnv *env, jclass cls, jint obj, jint flags)
    {
        GtkObject *obj_g = (GtkObject *)obj;
        gint32 flags_g = (gint32) flags;
        {
            GtkObject_set_flags (obj_g, flags_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.GtkObject
     * Method:    gtk_object_get_type
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_GtkObject_gtk_1object_1get_1type (JNIEnv *env, jclass
        cls)
    {
        {
            return (jint)gtk_object_get_type ();
        }
    }

    /*
     * Class:     org.gnu.gtk.GtkObject
     * Method:    gtk_object_sink
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_GtkObject_gtk_1object_1sink (JNIEnv *env, jclass cls,
        jint object)
    {
        GtkObject *object_g = (GtkObject *)object;
        {
            gtk_object_sink (object_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.GtkObject
     * Method:    gtk_object_destroy
     * Signature: (I)V
     */
    JNIEXPORT void JNICALL Java_org_gnu_gtk_GtkObject_gtk_1object_1destroy (JNIEnv *env, jclass
        cls, jint object)
    {
        GtkObject *object_g = (GtkObject *)object;
        {
            gtk_object_destroy (object_g);
        }
    }

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

#endif

