#include <string.h>
#include "genums.h"
+#include "gtype-private.h"
#include "gvalue.h"
#include "gvaluecollector.h"
-#include "gobjectalias.h"
/**
* SECTION:enumerations_flags
- *
- * @Short_description: Enumeration and flags types
- *
- * @See_also:#GParamSpecEnum, #GParamSpecFlags, g_param_spec_enum(),
- * g_param_spec_flags(),
- *
- * <link linkend="glib-mkenums">glib-mkenums</link>
- * @Title: Enumeration and Flag Types
+ * @short_description: Enumeration and flags types
+ * @title: Enumeration and Flag Types
+ * @see_also:#GParamSpecEnum, #GParamSpecFlags, g_param_spec_enum(),
+ * g_param_spec_flags()
*
* The GLib type system provides fundamental types for enumeration and
* flags types. (Flags types are like enumerations, but allow their
/* --- functions --- */
void
-g_enum_types_init (void)
+_g_enum_types_init (void)
{
static gboolean initialized = FALSE;
static const GTypeValueTable flags_enum_value_table = {
"p", /* lcopy_format */
value_flags_enum_lcopy_value, /* lcopy_value */
};
- static GTypeInfo info = {
+ GTypeInfo info = {
0, /* class_size */
NULL, /* base_init */
NULL, /* base_destroy */
* enumeration values. The array is terminated by a struct with all
* members being 0.
*
- * This function is meant to be called from the complete_type_info()
+ * This function is meant to be called from the <literal>complete_type_info</literal>
* function of a #GTypePlugin implementation, as in the following
* example:
*
return value->data[0].v_ulong;
}
-
-#define __G_ENUMS_C__
-#include "gobjectaliasdef.c"