mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-28 20:04:14 +02:00
2005-05-05 Owen Taylor <otaylor@redhat.com> * gobject.[ch] gobject.symbols: Add g_object_add/remove_toggle_ref() functions to get notification when a reference count is the last remaining reference; this enables better memory management for language bindings. (http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html) 2005-05-05 Owen Taylor <otaylor@redhat.com> * glib/gdataset.[ch] glib/gdatasetprivate.h: Add g_datalist_set/unset_flags(), g_datalist_get_flags() functions to squeeze some bits into a GDataSet... this is needed for efficient implementation of toggle references in GObject. * tests/gobject/references.c tests/gobject/Makefile.am: Add a test case for weak and toggle references. * glib/gfileutils.[ch]: Rename g_file_replace() back to g_file_set_contents(). * glib/glib.symbols: Update. 2005-05-05 Owen Taylor <otaylor@redhat.com> * glib/Makefile.am glib/glib-sections.txt gobject/gobject-sections.txt: Update * gobject/tmpl/objects.sgml: Document toggle-references.
221 lines
3.5 KiB
Plaintext
221 lines
3.5 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
Limits of Basic Types
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
portable method of determining the limits of the standard types.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
These macros provide a portable method to determine the limits of some of
|
|
the standard integer and floating point types.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### MACRO G_MININT ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MINSHORT ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gshort.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXSHORT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gshort.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUSHORT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gushort.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MINLONG ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #glong.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXLONG ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #glong.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXULONG ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gulong.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MININT8 ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint8.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT8 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint8.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT8 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint8.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MININT16 ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint16.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT16 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint16.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT16 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint16.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MININT32 ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint32.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT32 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint32.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT32 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint32.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MININT64 ##### -->
|
|
<para>
|
|
The minimum value which can be held in a #gint64.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXINT64 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gint64.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXUINT64 ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #guint64.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXSIZE ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gsize.
|
|
</para>
|
|
|
|
@Since: 2.4
|
|
|
|
|
|
<!-- ##### MACRO G_MINFLOAT ##### -->
|
|
<para>
|
|
The minimum positive value which can be held in a #gfloat.
|
|
</para>
|
|
<para>
|
|
If you are interested in the smallest value which can be held in a #gfloat,
|
|
use -G_MAX_FLOAT.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXFLOAT ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gfloat.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MINDOUBLE ##### -->
|
|
<para>
|
|
The minimum positive value which can be held in a #gdouble.
|
|
</para>
|
|
<para>
|
|
If you are interested in the smallest value which can be held in a #gdouble,
|
|
use -G_MAXDOUBLE.
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO G_MAXDOUBLE ##### -->
|
|
<para>
|
|
The maximum value which can be held in a #gdouble.
|
|
</para>
|
|
|
|
|
|
|