
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include "gfls-enum-types.h"
#include "gfls.h"
#include "gfls-attribute-keys.h"
#include "gfls-bytes-region-builder.h"
#include "gfls-bytes-region.h"
#include "gfls-encoding-conversion.h"
#include "gfls-encoding-convert.h"
#include "gfls-error.h"
#include "gfls-iconv.h"
#include "gfls-init.h"
#include "gfls-input-stream.h"
#include "gfls-loader-basic.h"
#include "gfls-loader-config.h"
#include "gfls-loader-config-simple.h"
#include "gfls-unsaved-document-titles.h"
#include "gfls-utf8.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "gfls-error.h" */

GType
gfls_loader_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GFLS_LOADER_ERROR_TOO_BIG), "GFLS_LOADER_ERROR_TOO_BIG", "too-big" },
        { C_ENUM (GFLS_LOADER_ERROR_NOT_UTF8), "GFLS_LOADER_ERROR_NOT_UTF8", "not-utf8" },
        { C_ENUM (GFLS_LOADER_ERROR_HAS_VERY_LONG_LINE), "GFLS_LOADER_ERROR_HAS_VERY_LONG_LINE", "has-very-long-line" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GflsLoaderError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gfls-iconv.h" */

GType
gfls_iconv_result_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GFLS_ICONV_RESULT_OK), "GFLS_ICONV_RESULT_OK", "ok" },
        { C_ENUM (GFLS_ICONV_RESULT_ERROR), "GFLS_ICONV_RESULT_ERROR", "error" },
        { C_ENUM (GFLS_ICONV_RESULT_ILLEGAL_SEQUENCE), "GFLS_ICONV_RESULT_ILLEGAL_SEQUENCE", "illegal-sequence" },
        { C_ENUM (GFLS_ICONV_RESULT_INCOMPLETE_INPUT), "GFLS_ICONV_RESULT_INCOMPLETE_INPUT", "incomplete-input" },
        { C_ENUM (GFLS_ICONV_RESULT_OUTPUT_BUFFER_FULL), "GFLS_ICONV_RESULT_OUTPUT_BUFFER_FULL", "output-buffer-full" },
        { C_ENUM (GFLS_ICONV_RESULT_LOSSY_CONVERSION), "GFLS_ICONV_RESULT_LOSSY_CONVERSION", "lossy-conversion" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GflsIconvResult"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

