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

/*
 * Copyright © 2025 Alain M. (https://github.com/alainm23/planify)
 *
 * 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, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301 USA
 *
 * Authored by: Alain M. <alainmh23@gmail.com>
 */

#include "chrono.h"
#include <gee.h>
#include <glib-object.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

enum  {
	CHRONO_EN_CONSTANTS_0_PROPERTY,
	CHRONO_EN_CONSTANTS_NUM_PROPERTIES
};
static GParamSpec* chrono_en_constants_properties[CHRONO_EN_CONSTANTS_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))

static gpointer chrono_en_constants_parent_class = NULL;
static GeeHashMap* chrono_en_constants__month_names;
static GeeHashMap* chrono_en_constants__month_names = NULL;
static GeeHashMap* chrono_en_constants__time_units;
static GeeHashMap* chrono_en_constants__time_units = NULL;

static GeeHashMap* chrono_en_constants_get_month_names (void);
static gint* _int_dup (gint* self);
static GeeHashMap* chrono_en_constants_get_time_units (void);
static ChronoTimeUnit* _chrono_time_unit_dup (ChronoTimeUnit* self);
static void chrono_en_constants_finalize (GObject * obj);
static GType chrono_en_constants_get_type_once (void);

 G_GNUC_NO_INLINE static GType
chrono_time_unit_get_type_once (void)
{
	static const GEnumValue values[] = {{CHRONO_TIME_UNIT_SECOND, "CHRONO_TIME_UNIT_SECOND", "second"}, {CHRONO_TIME_UNIT_MINUTE, "CHRONO_TIME_UNIT_MINUTE", "minute"}, {CHRONO_TIME_UNIT_HOUR, "CHRONO_TIME_UNIT_HOUR", "hour"}, {CHRONO_TIME_UNIT_DAY, "CHRONO_TIME_UNIT_DAY", "day"}, {CHRONO_TIME_UNIT_WEEK, "CHRONO_TIME_UNIT_WEEK", "week"}, {CHRONO_TIME_UNIT_MONTH, "CHRONO_TIME_UNIT_MONTH", "month"}, {CHRONO_TIME_UNIT_QUARTER, "CHRONO_TIME_UNIT_QUARTER", "quarter"}, {CHRONO_TIME_UNIT_YEAR, "CHRONO_TIME_UNIT_YEAR", "year"}, {0, NULL, NULL}};
	GType chrono_time_unit_type_id;
	chrono_time_unit_type_id = g_enum_register_static ("ChronoTimeUnit", values);
	return chrono_time_unit_type_id;
}

GType
chrono_time_unit_get_type (void)
{
	static gsize chrono_time_unit_type_id__once = 0;
	if (g_once_init_enter (&chrono_time_unit_type_id__once)) {
		GType chrono_time_unit_type_id;
		chrono_time_unit_type_id = chrono_time_unit_get_type_once ();
		g_once_init_leave (&chrono_time_unit_type_id__once, chrono_time_unit_type_id);
	}
	return chrono_time_unit_type_id__once;
}

static gpointer
_g_object_ref0 (gpointer self)
{
	return self ? g_object_ref (self) : NULL;
}

static GeeHashMap*
chrono_en_constants_get_month_names (void)
{
	GeeHashMap* _tmp0_;
	GeeHashMap* _tmp26_;
	GeeHashMap* _tmp27_;
	GeeHashMap* result;
	_tmp0_ = chrono_en_constants__month_names;
	if (_tmp0_ == NULL) {
		GeeHashMap* _tmp1_;
		GeeHashMap* _tmp2_;
		GeeHashMap* _tmp3_;
		GeeHashMap* _tmp4_;
		GeeHashMap* _tmp5_;
		GeeHashMap* _tmp6_;
		GeeHashMap* _tmp7_;
		GeeHashMap* _tmp8_;
		GeeHashMap* _tmp9_;
		GeeHashMap* _tmp10_;
		GeeHashMap* _tmp11_;
		GeeHashMap* _tmp12_;
		GeeHashMap* _tmp13_;
		GeeHashMap* _tmp14_;
		GeeHashMap* _tmp15_;
		GeeHashMap* _tmp16_;
		GeeHashMap* _tmp17_;
		GeeHashMap* _tmp18_;
		GeeHashMap* _tmp19_;
		GeeHashMap* _tmp20_;
		GeeHashMap* _tmp21_;
		GeeHashMap* _tmp22_;
		GeeHashMap* _tmp23_;
		GeeHashMap* _tmp24_;
		GeeHashMap* _tmp25_;
		_tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, G_TYPE_INT, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
		_g_object_unref0 (chrono_en_constants__month_names);
		chrono_en_constants__month_names = _tmp1_;
		_tmp2_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp2_, "january", (gpointer) ((gintptr) 1));
		_tmp3_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp3_, "february", (gpointer) ((gintptr) 2));
		_tmp4_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp4_, "march", (gpointer) ((gintptr) 3));
		_tmp5_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp5_, "april", (gpointer) ((gintptr) 4));
		_tmp6_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp6_, "may", (gpointer) ((gintptr) 5));
		_tmp7_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp7_, "june", (gpointer) ((gintptr) 6));
		_tmp8_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp8_, "july", (gpointer) ((gintptr) 7));
		_tmp9_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp9_, "august", (gpointer) ((gintptr) 8));
		_tmp10_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp10_, "september", (gpointer) ((gintptr) 9));
		_tmp11_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp11_, "october", (gpointer) ((gintptr) 10));
		_tmp12_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp12_, "november", (gpointer) ((gintptr) 11));
		_tmp13_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp13_, "december", (gpointer) ((gintptr) 12));
		_tmp14_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp14_, "jan", (gpointer) ((gintptr) 1));
		_tmp15_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp15_, "feb", (gpointer) ((gintptr) 2));
		_tmp16_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp16_, "mar", (gpointer) ((gintptr) 3));
		_tmp17_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp17_, "apr", (gpointer) ((gintptr) 4));
		_tmp18_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp18_, "jun", (gpointer) ((gintptr) 6));
		_tmp19_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp19_, "jul", (gpointer) ((gintptr) 7));
		_tmp20_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp20_, "aug", (gpointer) ((gintptr) 8));
		_tmp21_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp21_, "sep", (gpointer) ((gintptr) 9));
		_tmp22_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp22_, "sept", (gpointer) ((gintptr) 9));
		_tmp23_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp23_, "oct", (gpointer) ((gintptr) 10));
		_tmp24_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp24_, "nov", (gpointer) ((gintptr) 11));
		_tmp25_ = chrono_en_constants__month_names;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp25_, "dec", (gpointer) ((gintptr) 12));
	}
	_tmp26_ = chrono_en_constants__month_names;
	_tmp27_ = _g_object_ref0 (_tmp26_);
	result = _tmp27_;
	return result;
}

static gint*
_int_dup (gint* self)
{
	gint* dup;
	dup = g_new0 (gint, 1);
	memcpy (dup, self, sizeof (gint));
	return dup;
}

static gpointer
__int_dup0 (gpointer self)
{
	return self ? _int_dup (self) : NULL;
}

gint*
chrono_en_constants_get_month (const gchar* name)
{
	gchar* key = NULL;
	gchar* _tmp0_;
	GeeHashMap* months = NULL;
	GeeHashMap* _tmp1_;
	GeeHashMap* _tmp2_;
	const gchar* _tmp3_;
	gint* result;
	g_return_val_if_fail (name != NULL, NULL);
	_tmp0_ = g_utf8_strdown (name, (gssize) -1);
	key = _tmp0_;
	_tmp1_ = chrono_en_constants_get_month_names ();
	months = _tmp1_;
	_tmp2_ = months;
	_tmp3_ = key;
	if (gee_abstract_map_has_key ((GeeAbstractMap*) _tmp2_, _tmp3_)) {
		GeeHashMap* _tmp4_;
		const gchar* _tmp5_;
		gpointer _tmp6_;
		gint _tmp7_;
		gint* _tmp8_;
		_tmp4_ = months;
		_tmp5_ = key;
		_tmp6_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp4_, _tmp5_);
		_tmp7_ = (gint) ((gintptr) _tmp6_);
		_tmp8_ = __int_dup0 (&_tmp7_);
		result = _tmp8_;
		_g_object_unref0 (months);
		_g_free0 (key);
		return result;
	}
	result = NULL;
	_g_object_unref0 (months);
	_g_free0 (key);
	return result;
}

static GeeHashMap*
chrono_en_constants_get_time_units (void)
{
	GeeHashMap* _tmp0_;
	GeeHashMap* _tmp34_;
	GeeHashMap* _tmp35_;
	GeeHashMap* result;
	_tmp0_ = chrono_en_constants__time_units;
	if (_tmp0_ == NULL) {
		GeeHashMap* _tmp1_;
		GeeHashMap* _tmp2_;
		GeeHashMap* _tmp3_;
		GeeHashMap* _tmp4_;
		GeeHashMap* _tmp5_;
		GeeHashMap* _tmp6_;
		GeeHashMap* _tmp7_;
		GeeHashMap* _tmp8_;
		GeeHashMap* _tmp9_;
		GeeHashMap* _tmp10_;
		GeeHashMap* _tmp11_;
		GeeHashMap* _tmp12_;
		GeeHashMap* _tmp13_;
		GeeHashMap* _tmp14_;
		GeeHashMap* _tmp15_;
		GeeHashMap* _tmp16_;
		GeeHashMap* _tmp17_;
		GeeHashMap* _tmp18_;
		GeeHashMap* _tmp19_;
		GeeHashMap* _tmp20_;
		GeeHashMap* _tmp21_;
		GeeHashMap* _tmp22_;
		GeeHashMap* _tmp23_;
		GeeHashMap* _tmp24_;
		GeeHashMap* _tmp25_;
		GeeHashMap* _tmp26_;
		GeeHashMap* _tmp27_;
		GeeHashMap* _tmp28_;
		GeeHashMap* _tmp29_;
		GeeHashMap* _tmp30_;
		GeeHashMap* _tmp31_;
		GeeHashMap* _tmp32_;
		GeeHashMap* _tmp33_;
		_tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, CHRONO_TYPE_TIME_UNIT, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
		_g_object_unref0 (chrono_en_constants__time_units);
		chrono_en_constants__time_units = _tmp1_;
		_tmp2_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp2_, "s", (gpointer) ((gintptr) CHRONO_TIME_UNIT_SECOND));
		_tmp3_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp3_, "sec", (gpointer) ((gintptr) CHRONO_TIME_UNIT_SECOND));
		_tmp4_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp4_, "m", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MINUTE));
		_tmp5_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp5_, "min", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MINUTE));
		_tmp6_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp6_, "mins", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MINUTE));
		_tmp7_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp7_, "h", (gpointer) ((gintptr) CHRONO_TIME_UNIT_HOUR));
		_tmp8_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp8_, "hr", (gpointer) ((gintptr) CHRONO_TIME_UNIT_HOUR));
		_tmp9_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp9_, "hrs", (gpointer) ((gintptr) CHRONO_TIME_UNIT_HOUR));
		_tmp10_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp10_, "d", (gpointer) ((gintptr) CHRONO_TIME_UNIT_DAY));
		_tmp11_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp11_, "w", (gpointer) ((gintptr) CHRONO_TIME_UNIT_WEEK));
		_tmp12_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp12_, "mo", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MONTH));
		_tmp13_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp13_, "mon", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MONTH));
		_tmp14_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp14_, "mos", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MONTH));
		_tmp15_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp15_, "qtr", (gpointer) ((gintptr) CHRONO_TIME_UNIT_QUARTER));
		_tmp16_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp16_, "y", (gpointer) ((gintptr) CHRONO_TIME_UNIT_YEAR));
		_tmp17_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp17_, "yr", (gpointer) ((gintptr) CHRONO_TIME_UNIT_YEAR));
		_tmp18_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp18_, "second", (gpointer) ((gintptr) CHRONO_TIME_UNIT_SECOND));
		_tmp19_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp19_, "seconds", (gpointer) ((gintptr) CHRONO_TIME_UNIT_SECOND));
		_tmp20_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp20_, "minute", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MINUTE));
		_tmp21_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp21_, "minutes", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MINUTE));
		_tmp22_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp22_, "hour", (gpointer) ((gintptr) CHRONO_TIME_UNIT_HOUR));
		_tmp23_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp23_, "hours", (gpointer) ((gintptr) CHRONO_TIME_UNIT_HOUR));
		_tmp24_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp24_, "day", (gpointer) ((gintptr) CHRONO_TIME_UNIT_DAY));
		_tmp25_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp25_, "days", (gpointer) ((gintptr) CHRONO_TIME_UNIT_DAY));
		_tmp26_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp26_, "week", (gpointer) ((gintptr) CHRONO_TIME_UNIT_WEEK));
		_tmp27_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp27_, "weeks", (gpointer) ((gintptr) CHRONO_TIME_UNIT_WEEK));
		_tmp28_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp28_, "month", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MONTH));
		_tmp29_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp29_, "months", (gpointer) ((gintptr) CHRONO_TIME_UNIT_MONTH));
		_tmp30_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp30_, "quarter", (gpointer) ((gintptr) CHRONO_TIME_UNIT_QUARTER));
		_tmp31_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp31_, "quarters", (gpointer) ((gintptr) CHRONO_TIME_UNIT_QUARTER));
		_tmp32_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp32_, "year", (gpointer) ((gintptr) CHRONO_TIME_UNIT_YEAR));
		_tmp33_ = chrono_en_constants__time_units;
		gee_abstract_map_set ((GeeAbstractMap*) _tmp33_, "years", (gpointer) ((gintptr) CHRONO_TIME_UNIT_YEAR));
	}
	_tmp34_ = chrono_en_constants__time_units;
	_tmp35_ = _g_object_ref0 (_tmp34_);
	result = _tmp35_;
	return result;
}

static ChronoTimeUnit*
_chrono_time_unit_dup (ChronoTimeUnit* self)
{
	ChronoTimeUnit* dup;
	dup = g_new0 (ChronoTimeUnit, 1);
	memcpy (dup, self, sizeof (ChronoTimeUnit));
	return dup;
}

static gpointer
__chrono_time_unit_dup0 (gpointer self)
{
	return self ? _chrono_time_unit_dup (self) : NULL;
}

ChronoTimeUnit*
chrono_en_constants_get_time_unit (const gchar* name)
{
	gchar* key = NULL;
	gchar* _tmp0_;
	GeeHashMap* units = NULL;
	GeeHashMap* _tmp1_;
	GeeHashMap* _tmp2_;
	const gchar* _tmp3_;
	ChronoTimeUnit* result;
	g_return_val_if_fail (name != NULL, NULL);
	_tmp0_ = g_utf8_strdown (name, (gssize) -1);
	key = _tmp0_;
	_tmp1_ = chrono_en_constants_get_time_units ();
	units = _tmp1_;
	_tmp2_ = units;
	_tmp3_ = key;
	if (gee_abstract_map_has_key ((GeeAbstractMap*) _tmp2_, _tmp3_)) {
		GeeHashMap* _tmp4_;
		const gchar* _tmp5_;
		gpointer _tmp6_;
		ChronoTimeUnit _tmp7_;
		ChronoTimeUnit* _tmp8_;
		_tmp4_ = units;
		_tmp5_ = key;
		_tmp6_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp4_, _tmp5_);
		_tmp7_ = (ChronoTimeUnit) ((gintptr) _tmp6_);
		_tmp8_ = __chrono_time_unit_dup0 (&_tmp7_);
		result = _tmp8_;
		_g_object_unref0 (units);
		_g_free0 (key);
		return result;
	}
	result = NULL;
	_g_object_unref0 (units);
	_g_free0 (key);
	return result;
}

ChronoENConstants*
chrono_en_constants_construct (GType object_type)
{
	ChronoENConstants * self = NULL;
	self = (ChronoENConstants*) g_object_new (object_type, NULL);
	return self;
}

ChronoENConstants*
chrono_en_constants_new (void)
{
	return chrono_en_constants_construct (CHRONO_TYPE_EN_CONSTANTS);
}

static void
chrono_en_constants_class_init (ChronoENConstantsClass * klass,
                                gpointer klass_data)
{
	chrono_en_constants_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->finalize = chrono_en_constants_finalize;
}

static void
chrono_en_constants_instance_init (ChronoENConstants * self,
                                   gpointer klass)
{
}

static void
chrono_en_constants_finalize (GObject * obj)
{
	ChronoENConstants * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, CHRONO_TYPE_EN_CONSTANTS, ChronoENConstants);
	G_OBJECT_CLASS (chrono_en_constants_parent_class)->finalize (obj);
}

 G_GNUC_NO_INLINE static GType
chrono_en_constants_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (ChronoENConstantsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) chrono_en_constants_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ChronoENConstants), 0, (GInstanceInitFunc) chrono_en_constants_instance_init, NULL };
	GType chrono_en_constants_type_id;
	chrono_en_constants_type_id = g_type_register_static (G_TYPE_OBJECT, "ChronoENConstants", &g_define_type_info, 0);
	return chrono_en_constants_type_id;
}

GType
chrono_en_constants_get_type (void)
{
	static gsize chrono_en_constants_type_id__once = 0;
	if (g_once_init_enter (&chrono_en_constants_type_id__once)) {
		GType chrono_en_constants_type_id;
		chrono_en_constants_type_id = chrono_en_constants_get_type_once ();
		g_once_init_leave (&chrono_en_constants_type_id__once, chrono_en_constants_type_id);
	}
	return chrono_en_constants_type_id__once;
}

