mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-02 13:53:06 +02:00
The type system should have never been relegated to libgobject: it's a low level API to register types at run time. Having GType inside libglib allows us to use the type system information everywhere: - generic but type safe storage data types - explicit memory management semantics for all data types - enumeration types for all flags Having the type system inside libglib also allows us to create new and better fundamental types in the future, like sum types, option types, tuples, and generic types. Moved: - gatomicarray - gboxed - genums - gtype - gtypeplugin - gvalue The move is mostly Git surgery, but given the amount of internal API surface, it results in a single commit to avoid breaking bisectability. We need to maintain `gobject/gvaluecollector.h` as a publicly installed header but, to avoid issues in case of excessive inclusions, we make it conflict with `glib/gvaluecollector.h`. See: #2370 See: https://discourse.gnome.org/t/straw-man-moving-the-gtype-api-down-to-libglib-2-0/11169
130 lines
3.6 KiB
C
130 lines
3.6 KiB
C
/* GLIB - Library of useful routines for C programming
|
|
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/*
|
|
* Modified by the GLib Team and others 1997-2000. See the AUTHORS
|
|
* file for a list of people on the GLib Team. See the ChangeLog
|
|
* files for a list of changes. These files are distributed with
|
|
* GLib at ftp://ftp.gtk.org/pub/gtk/.
|
|
*/
|
|
|
|
#ifndef __G_LIB_H__
|
|
#define __G_LIB_H__
|
|
|
|
#define __GLIB_H_INSIDE__
|
|
|
|
#include <glib/galloca.h>
|
|
#include <glib/garray.h>
|
|
#include <glib/gasyncqueue.h>
|
|
#include <glib/gatomic.h>
|
|
#include <glib/gbacktrace.h>
|
|
#include <glib/gbase64.h>
|
|
#include <glib/gbitlock.h>
|
|
#include <glib/gbookmarkfile.h>
|
|
#include <glib/gboxed.h>
|
|
#include <glib/gbytes.h>
|
|
#include <glib/gcharset.h>
|
|
#include <glib/gchecksum.h>
|
|
#include <glib/gconvert.h>
|
|
#include <glib/gdataset.h>
|
|
#include <glib/gdate.h>
|
|
#include <glib/gdatetime.h>
|
|
#include <glib/gdir.h>
|
|
#include <glib/genums.h>
|
|
#include <glib/genviron.h>
|
|
#include <glib/gerror.h>
|
|
#include <glib/gfileutils.h>
|
|
#include <glib/ggettext.h>
|
|
#include <glib/ghash.h>
|
|
#include <glib/ghmac.h>
|
|
#include <glib/ghook.h>
|
|
#include <glib/ghostutils.h>
|
|
#include <glib/giochannel.h>
|
|
#include <glib/gkeyfile.h>
|
|
#include <glib/glist.h>
|
|
#include <glib/gmacros.h>
|
|
#include <glib/gmain.h>
|
|
#include <glib/gmappedfile.h>
|
|
#include <glib/gmarkup.h>
|
|
#include <glib/gmem.h>
|
|
#include <glib/gmessages.h>
|
|
#include <glib/gnode.h>
|
|
#include <glib/goption.h>
|
|
#include <glib/gpathbuf.h>
|
|
#include <glib/gpattern.h>
|
|
#include <glib/gpoll.h>
|
|
#include <glib/gprimes.h>
|
|
#include <glib/gqsort.h>
|
|
#include <glib/gquark.h>
|
|
#include <glib/gqueue.h>
|
|
#include <glib/grand.h>
|
|
#include <glib/grcbox.h>
|
|
#include <glib/grefcount.h>
|
|
#include <glib/grefstring.h>
|
|
#include <glib/gregex.h>
|
|
#include <glib/gscanner.h>
|
|
#include <glib/gsequence.h>
|
|
#include <glib/gshell.h>
|
|
#include <glib/gslice.h>
|
|
#include <glib/gslist.h>
|
|
#include <glib/gspawn.h>
|
|
#include <glib/gstrfuncs.h>
|
|
#include <glib/gstringchunk.h>
|
|
#include <glib/gstring.h>
|
|
#include <glib/gstrvbuilder.h>
|
|
#include <glib/gtestutils.h>
|
|
#include <glib/gthread.h>
|
|
#include <glib/gthreadpool.h>
|
|
#include <glib/gtimer.h>
|
|
#include <glib/gtimezone.h>
|
|
#include <glib/gtrashstack.h>
|
|
#include <glib/gtree.h>
|
|
#include <glib/gtype.h>
|
|
#include <glib/gtypeplugin.h>
|
|
#include <glib/gtypes.h>
|
|
#include <glib/gunicode.h>
|
|
#include <glib/guri.h>
|
|
#include <glib/gutils.h>
|
|
#include <glib/guuid.h>
|
|
#include <glib/gvalue.h>
|
|
#include <glib/gvaluetypes.h>
|
|
#include <glib/gvariant.h>
|
|
#include <glib/gvarianttype.h>
|
|
#include <glib/gversion.h>
|
|
#include <glib/gversionmacros.h>
|
|
|
|
#ifdef G_PLATFORM_WIN32
|
|
#include <glib/gwin32.h>
|
|
#endif
|
|
|
|
#include <glib/deprecated/gallocator.h>
|
|
#include <glib/deprecated/gcache.h>
|
|
#include <glib/deprecated/gcompletion.h>
|
|
#include <glib/deprecated/gmain.h>
|
|
#include <glib/deprecated/grel.h>
|
|
#include <glib/deprecated/gthread.h>
|
|
|
|
#include <glib/glib-autocleanups.h>
|
|
#include <glib/glib-types.h>
|
|
#include <glib/glib-typeof.h>
|
|
|
|
#undef __GLIB_H_INSIDE__
|
|
|
|
#endif /* __G_LIB_H__ */
|