/* test.c generated by valac, the Vala compiler
 * generated from test.vala, do not modify */


#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>

typedef struct _Test Test;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _test_free0(var) ((var == NULL) ? NULL : (var = (test_free (var), NULL)))

struct _Test {
	gpointer key;
};



void test_free (Test* self);
Test* test_new (gconstpointer _key);
Test* test_new (gconstpointer _key);
static void test_instance_init (Test * self);
gint _vala_main (void);



Test* test_new (gconstpointer _key) {
	Test* self;
	self = g_slice_new0 (Test);
	test_instance_init (self);
	self->key = _key;
	return self;
}


static void test_instance_init (Test * self) {
}


void test_free (Test* self) {
	g_slice_free (Test, self);
}


gint _vala_main (void) {
	gint result = 0;
	GtkWindow* _tmp0_;
	Test* _tmp1_;
	Test* test;
	test = (_tmp1_ = test_new (_tmp0_ = g_object_ref_sink ((GtkWindow*) gtk_window_new (GTK_WINDOW_TOPLEVEL))), _g_object_unref0 (_tmp0_), _tmp1_);
	result = 0;
	_test_free0 (test);
	return result;
}


int main (int argc, char ** argv) {
	g_type_init ();
	return _vala_main ();
}




