/* StringArrayRow.c generated by valac 0.56.18-dirty, the Vala compiler
 * generated from StringArrayRow.vala, do not modify */

/* StringArrayRow.vala
 *
 * Copyright 2023 Diego Iván <diegoivan.mae@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#include <adwaita.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

#define PAPER_CLIP_TYPE_STRING_ARRAY_ROW (paper_clip_string_array_row_get_type ())
#define PAPER_CLIP_STRING_ARRAY_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PAPER_CLIP_TYPE_STRING_ARRAY_ROW, PaperClipStringArrayRow))
#define PAPER_CLIP_STRING_ARRAY_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PAPER_CLIP_TYPE_STRING_ARRAY_ROW, PaperClipStringArrayRowClass))
#define PAPER_CLIP_IS_STRING_ARRAY_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PAPER_CLIP_TYPE_STRING_ARRAY_ROW))
#define PAPER_CLIP_IS_STRING_ARRAY_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PAPER_CLIP_TYPE_STRING_ARRAY_ROW))
#define PAPER_CLIP_STRING_ARRAY_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PAPER_CLIP_TYPE_STRING_ARRAY_ROW, PaperClipStringArrayRowClass))

typedef struct _PaperClipStringArrayRow PaperClipStringArrayRow;
typedef struct _PaperClipStringArrayRowClass PaperClipStringArrayRowClass;
typedef struct _PaperClipStringArrayRowPrivate PaperClipStringArrayRowPrivate;

#define PAPER_CLIP_TYPE_CONTENT_ROW (paper_clip_content_row_get_type ())
#define PAPER_CLIP_CONTENT_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PAPER_CLIP_TYPE_CONTENT_ROW, PaperClipContentRow))
#define PAPER_CLIP_CONTENT_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PAPER_CLIP_TYPE_CONTENT_ROW, PaperClipContentRowClass))
#define PAPER_CLIP_IS_CONTENT_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PAPER_CLIP_TYPE_CONTENT_ROW))
#define PAPER_CLIP_IS_CONTENT_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PAPER_CLIP_TYPE_CONTENT_ROW))
#define PAPER_CLIP_CONTENT_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PAPER_CLIP_TYPE_CONTENT_ROW, PaperClipContentRowClass))

typedef struct _PaperClipContentRow PaperClipContentRow;
typedef struct _PaperClipContentRowClass PaperClipContentRowClass;
enum  {
	PAPER_CLIP_STRING_ARRAY_ROW_0_PROPERTY,
	PAPER_CLIP_STRING_ARRAY_ROW_STRING_ARRAY_PROPERTY,
	PAPER_CLIP_STRING_ARRAY_ROW_NUM_PROPERTIES
};
static GParamSpec* paper_clip_string_array_row_properties[PAPER_CLIP_STRING_ARRAY_ROW_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _PaperClipContentRowPrivate PaperClipContentRowPrivate;
enum  {
	PAPER_CLIP_CONTENT_ROW_0_PROPERTY,
	PAPER_CLIP_CONTENT_ROW_CONTENTS_PROPERTY,
	PAPER_CLIP_CONTENT_ROW_NUM_PROPERTIES
};
static GParamSpec* paper_clip_content_row_properties[PAPER_CLIP_CONTENT_ROW_NUM_PROPERTIES];

struct _PaperClipStringArrayRow {
	AdwExpanderRow parent_instance;
	PaperClipStringArrayRowPrivate * priv;
};

struct _PaperClipStringArrayRowClass {
	AdwExpanderRowClass parent_class;
};

struct _PaperClipStringArrayRowPrivate {
	PaperClipContentRow* content_row;
};

struct _PaperClipContentRow {
	GtkListBoxRow parent_instance;
	PaperClipContentRowPrivate * priv;
};

struct _PaperClipContentRowClass {
	GtkListBoxRowClass parent_class;
};

struct _PaperClipContentRowPrivate {
	GtkLabel* content_label;
};

static gint PaperClipStringArrayRow_private_offset;
static gpointer paper_clip_string_array_row_parent_class = NULL;
static gint PaperClipContentRow_private_offset;
static gpointer paper_clip_content_row_parent_class = NULL;

VALA_EXTERN GType paper_clip_string_array_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PaperClipStringArrayRow, g_object_unref)
VALA_EXTERN GType paper_clip_content_row_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PaperClipContentRow, g_object_unref)
VALA_EXTERN PaperClipContentRow* paper_clip_content_row_new (void);
VALA_EXTERN PaperClipContentRow* paper_clip_content_row_construct (GType object_type);
VALA_EXTERN PaperClipStringArrayRow* paper_clip_string_array_row_new (void);
VALA_EXTERN PaperClipStringArrayRow* paper_clip_string_array_row_construct (GType object_type);
VALA_EXTERN void paper_clip_string_array_row_set_string_array (PaperClipStringArrayRow* self,
                                                   gchar** value,
                                                   gint value_length1);
VALA_EXTERN void paper_clip_content_row_set_contents (PaperClipContentRow* self,
                                          const gchar* value);
VALA_EXTERN const gchar* paper_clip_content_row_get_contents (PaperClipContentRow* self);
static GObject * paper_clip_string_array_row_constructor (GType type,
                                                   guint n_construct_properties,
                                                   GObjectConstructParam * construct_properties);
static void paper_clip_string_array_row_finalize (GObject * obj);
static GType paper_clip_string_array_row_get_type_once (void);
static void _vala_paper_clip_string_array_row_set_property (GObject * object,
                                                     guint property_id,
                                                     const GValue * value,
                                                     GParamSpec * pspec);
static GObject * paper_clip_content_row_constructor (GType type,
                                              guint n_construct_properties,
                                              GObjectConstructParam * construct_properties);
static void paper_clip_content_row_finalize (GObject * obj);
static GType paper_clip_content_row_get_type_once (void);
static void _vala_paper_clip_content_row_get_property (GObject * object,
                                                guint property_id,
                                                GValue * value,
                                                GParamSpec * pspec);
static void _vala_paper_clip_content_row_set_property (GObject * object,
                                                guint property_id,
                                                const GValue * value,
                                                GParamSpec * pspec);
static void _vala_array_destroy (gpointer array,
                          gssize array_length,
                          GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array,
                       gssize array_length,
                       GDestroyNotify destroy_func);

static inline gpointer
paper_clip_string_array_row_get_instance_private (PaperClipStringArrayRow* self)
{
	return G_STRUCT_MEMBER_P (self, PaperClipStringArrayRow_private_offset);
}

PaperClipStringArrayRow*
paper_clip_string_array_row_construct (GType object_type)
{
	PaperClipStringArrayRow * self = NULL;
	self = (PaperClipStringArrayRow*) g_object_new (object_type, NULL);
	return self;
}

PaperClipStringArrayRow*
paper_clip_string_array_row_new (void)
{
	return paper_clip_string_array_row_construct (PAPER_CLIP_TYPE_STRING_ARRAY_ROW);
}

void
paper_clip_string_array_row_set_string_array (PaperClipStringArrayRow* self,
                                              gchar** value,
                                              gint value_length1)
{
	PaperClipContentRow* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->content_row;
	paper_clip_content_row_set_contents (_tmp0_, "");
	{
		gchar** item_collection = NULL;
		gint item_collection_length1 = 0;
		gint _item_collection_size_ = 0;
		gint item_it = 0;
		item_collection = value;
		item_collection_length1 = value_length1;
		for (item_it = 0; item_it < item_collection_length1; item_it = item_it + 1) {
			gchar* _tmp1_;
			gchar* item = NULL;
			_tmp1_ = g_strdup (item_collection[item_it]);
			item = _tmp1_;
			{
				PaperClipContentRow* _tmp2_;
				PaperClipContentRow* _tmp3_;
				const gchar* _tmp4_;
				const gchar* _tmp5_;
				const gchar* _tmp6_;
				gchar* _tmp7_;
				gchar* _tmp8_;
				gchar* _tmp9_;
				gchar* _tmp10_;
				_tmp2_ = self->priv->content_row;
				_tmp3_ = self->priv->content_row;
				_tmp4_ = paper_clip_content_row_get_contents (_tmp3_);
				_tmp5_ = _tmp4_;
				_tmp6_ = item;
				_tmp7_ = g_strdup_printf ("• %s\n", _tmp6_);
				_tmp8_ = _tmp7_;
				_tmp9_ = g_strconcat (_tmp5_, _tmp8_, NULL);
				_tmp10_ = _tmp9_;
				paper_clip_content_row_set_contents (_tmp3_, _tmp10_);
				_g_free0 (_tmp10_);
				_g_free0 (_tmp8_);
				_g_free0 (item);
			}
		}
	}
	g_object_notify_by_pspec ((GObject *) self, paper_clip_string_array_row_properties[PAPER_CLIP_STRING_ARRAY_ROW_STRING_ARRAY_PROPERTY]);
}

static GObject *
paper_clip_string_array_row_constructor (GType type,
                                         guint n_construct_properties,
                                         GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	PaperClipStringArrayRow * self;
	PaperClipContentRow* _tmp0_;
	parent_class = G_OBJECT_CLASS (paper_clip_string_array_row_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PAPER_CLIP_TYPE_STRING_ARRAY_ROW, PaperClipStringArrayRow);
	_tmp0_ = self->priv->content_row;
	adw_expander_row_add_row ((AdwExpanderRow*) self, (GtkWidget*) _tmp0_);
	return obj;
}

static void
paper_clip_string_array_row_class_init (PaperClipStringArrayRowClass * klass,
                                        gpointer klass_data)
{
	paper_clip_string_array_row_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &PaperClipStringArrayRow_private_offset);
	G_OBJECT_CLASS (klass)->set_property = _vala_paper_clip_string_array_row_set_property;
	G_OBJECT_CLASS (klass)->constructor = paper_clip_string_array_row_constructor;
	G_OBJECT_CLASS (klass)->finalize = paper_clip_string_array_row_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), PAPER_CLIP_STRING_ARRAY_ROW_STRING_ARRAY_PROPERTY, paper_clip_string_array_row_properties[PAPER_CLIP_STRING_ARRAY_ROW_STRING_ARRAY_PROPERTY] = g_param_spec_boxed ("string-array", "string-array", "string-array", G_TYPE_STRV, G_PARAM_STATIC_STRINGS | G_PARAM_WRITABLE));
}

static void
paper_clip_string_array_row_instance_init (PaperClipStringArrayRow * self,
                                           gpointer klass)
{
	PaperClipContentRow* _tmp0_;
	self->priv = paper_clip_string_array_row_get_instance_private (self);
	_tmp0_ = paper_clip_content_row_new ();
	g_object_ref_sink (_tmp0_);
	self->priv->content_row = _tmp0_;
}

static void
paper_clip_string_array_row_finalize (GObject * obj)
{
	PaperClipStringArrayRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PAPER_CLIP_TYPE_STRING_ARRAY_ROW, PaperClipStringArrayRow);
	_g_object_unref0 (self->priv->content_row);
	G_OBJECT_CLASS (paper_clip_string_array_row_parent_class)->finalize (obj);
}

static GType
paper_clip_string_array_row_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (PaperClipStringArrayRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) paper_clip_string_array_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PaperClipStringArrayRow), 0, (GInstanceInitFunc) paper_clip_string_array_row_instance_init, NULL };
	GType paper_clip_string_array_row_type_id;
	paper_clip_string_array_row_type_id = g_type_register_static (adw_expander_row_get_type (), "PaperClipStringArrayRow", &g_define_type_info, 0);
	PaperClipStringArrayRow_private_offset = g_type_add_instance_private (paper_clip_string_array_row_type_id, sizeof (PaperClipStringArrayRowPrivate));
	return paper_clip_string_array_row_type_id;
}

GType
paper_clip_string_array_row_get_type (void)
{
	static volatile gsize paper_clip_string_array_row_type_id__once = 0;
	if (g_once_init_enter (&paper_clip_string_array_row_type_id__once)) {
		GType paper_clip_string_array_row_type_id;
		paper_clip_string_array_row_type_id = paper_clip_string_array_row_get_type_once ();
		g_once_init_leave (&paper_clip_string_array_row_type_id__once, paper_clip_string_array_row_type_id);
	}
	return paper_clip_string_array_row_type_id__once;
}

static void
_vala_paper_clip_string_array_row_set_property (GObject * object,
                                                guint property_id,
                                                const GValue * value,
                                                GParamSpec * pspec)
{
	PaperClipStringArrayRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PAPER_CLIP_TYPE_STRING_ARRAY_ROW, PaperClipStringArrayRow);
	switch (property_id) {
		case PAPER_CLIP_STRING_ARRAY_ROW_STRING_ARRAY_PROPERTY:
		{
			gpointer boxed;
			boxed = g_value_get_boxed (value);
			paper_clip_string_array_row_set_string_array (self, boxed, (boxed == NULL) ? 0 : g_strv_length (boxed));
		}
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
paper_clip_content_row_get_instance_private (PaperClipContentRow* self)
{
	return G_STRUCT_MEMBER_P (self, PaperClipContentRow_private_offset);
}

PaperClipContentRow*
paper_clip_content_row_construct (GType object_type)
{
	PaperClipContentRow * self = NULL;
	self = (PaperClipContentRow*) g_object_new (object_type, NULL);
	return self;
}

PaperClipContentRow*
paper_clip_content_row_new (void)
{
	return paper_clip_content_row_construct (PAPER_CLIP_TYPE_CONTENT_ROW);
}

const gchar*
paper_clip_content_row_get_contents (PaperClipContentRow* self)
{
	const gchar* result;
	GtkLabel* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->content_label;
	_tmp1_ = gtk_label_get_label (_tmp0_);
	_tmp2_ = _tmp1_;
	result = _tmp2_;
	return result;
}

void
paper_clip_content_row_set_contents (PaperClipContentRow* self,
                                     const gchar* value)
{
	GtkLabel* _tmp0_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->priv->content_label;
	gtk_label_set_label (_tmp0_, value);
	g_object_notify_by_pspec ((GObject *) self, paper_clip_content_row_properties[PAPER_CLIP_CONTENT_ROW_CONTENTS_PROPERTY]);
}

static GObject *
paper_clip_content_row_constructor (GType type,
                                    guint n_construct_properties,
                                    GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	PaperClipContentRow * self;
	gchar* _tmp0_;
	gchar** _tmp1_;
	GtkLabel* _tmp2_ = NULL;
	GtkLabel* _tmp3_;
	GtkLabel* _tmp4_;
	parent_class = G_OBJECT_CLASS (paper_clip_content_row_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PAPER_CLIP_TYPE_CONTENT_ROW, PaperClipContentRow);
	_tmp0_ = g_strdup ("dim-label");
	_tmp1_ = g_new0 (gchar*, 1 + 1);
	_tmp1_[0] = _tmp0_;
	_tmp2_ = (GtkLabel*) gtk_label_new ("");
	gtk_widget_set_css_classes ((GtkWidget*) _tmp2_, _tmp1_);
	_tmp1_ = (_vala_array_free (_tmp1_, 1, (GDestroyNotify) g_free), NULL);
	gtk_widget_set_halign ((GtkWidget*) _tmp2_, GTK_ALIGN_START);
	gtk_widget_set_margin_start ((GtkWidget*) _tmp2_, 12);
	gtk_widget_set_margin_top ((GtkWidget*) _tmp2_, 18);
	g_object_ref_sink (_tmp2_);
	_g_object_unref0 (self->priv->content_label);
	self->priv->content_label = _tmp2_;
	_tmp3_ = self->priv->content_label;
	gtk_widget_add_css_class ((GtkWidget*) _tmp3_, "dim-label");
	_tmp4_ = self->priv->content_label;
	gtk_list_box_row_set_child ((GtkListBoxRow*) self, (GtkWidget*) _tmp4_);
	return obj;
}

static void
paper_clip_content_row_class_init (PaperClipContentRowClass * klass,
                                   gpointer klass_data)
{
	paper_clip_content_row_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &PaperClipContentRow_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_paper_clip_content_row_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_paper_clip_content_row_set_property;
	G_OBJECT_CLASS (klass)->constructor = paper_clip_content_row_constructor;
	G_OBJECT_CLASS (klass)->finalize = paper_clip_content_row_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), PAPER_CLIP_CONTENT_ROW_CONTENTS_PROPERTY, paper_clip_content_row_properties[PAPER_CLIP_CONTENT_ROW_CONTENTS_PROPERTY] = g_param_spec_string ("contents", "contents", "contents", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

static void
paper_clip_content_row_instance_init (PaperClipContentRow * self,
                                      gpointer klass)
{
	self->priv = paper_clip_content_row_get_instance_private (self);
}

static void
paper_clip_content_row_finalize (GObject * obj)
{
	PaperClipContentRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PAPER_CLIP_TYPE_CONTENT_ROW, PaperClipContentRow);
	_g_object_unref0 (self->priv->content_label);
	G_OBJECT_CLASS (paper_clip_content_row_parent_class)->finalize (obj);
}

static GType
paper_clip_content_row_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (PaperClipContentRowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) paper_clip_content_row_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PaperClipContentRow), 0, (GInstanceInitFunc) paper_clip_content_row_instance_init, NULL };
	GType paper_clip_content_row_type_id;
	paper_clip_content_row_type_id = g_type_register_static (gtk_list_box_row_get_type (), "PaperClipContentRow", &g_define_type_info, 0);
	PaperClipContentRow_private_offset = g_type_add_instance_private (paper_clip_content_row_type_id, sizeof (PaperClipContentRowPrivate));
	return paper_clip_content_row_type_id;
}

GType
paper_clip_content_row_get_type (void)
{
	static volatile gsize paper_clip_content_row_type_id__once = 0;
	if (g_once_init_enter (&paper_clip_content_row_type_id__once)) {
		GType paper_clip_content_row_type_id;
		paper_clip_content_row_type_id = paper_clip_content_row_get_type_once ();
		g_once_init_leave (&paper_clip_content_row_type_id__once, paper_clip_content_row_type_id);
	}
	return paper_clip_content_row_type_id__once;
}

static void
_vala_paper_clip_content_row_get_property (GObject * object,
                                           guint property_id,
                                           GValue * value,
                                           GParamSpec * pspec)
{
	PaperClipContentRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PAPER_CLIP_TYPE_CONTENT_ROW, PaperClipContentRow);
	switch (property_id) {
		case PAPER_CLIP_CONTENT_ROW_CONTENTS_PROPERTY:
		g_value_set_string (value, paper_clip_content_row_get_contents (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_paper_clip_content_row_set_property (GObject * object,
                                           guint property_id,
                                           const GValue * value,
                                           GParamSpec * pspec)
{
	PaperClipContentRow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, PAPER_CLIP_TYPE_CONTENT_ROW, PaperClipContentRow);
	switch (property_id) {
		case PAPER_CLIP_CONTENT_ROW_CONTENTS_PROPERTY:
		paper_clip_content_row_set_contents (self, g_value_get_string (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_array_destroy (gpointer array,
                     gssize array_length,
                     GDestroyNotify destroy_func)
{
	if ((array != NULL) && (destroy_func != NULL)) {
		gssize i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}

static void
_vala_array_free (gpointer array,
                  gssize array_length,
                  GDestroyNotify destroy_func)
{
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}

