mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-31 01:40:06 +02:00
Define G_GUINT64_CONSTANT in analogy to G_GINT64_CONSTANT. (#322568,
2005-12-02 Matthias Clasen <mclasen@redhat.com> * configure.in: Define G_GUINT64_CONSTANT in analogy to G_GINT64_CONSTANT. (#322568, Andrew Paprocki)
This commit is contained in:
parent
ec2155a896
commit
7ddcde62c0
@ -1,5 +1,8 @@
|
|||||||
2005-12-02 Matthias Clasen <mclasen@redhat.com>
|
2005-12-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Define G_GUINT64_CONSTANT in analogy to
|
||||||
|
G_GINT64_CONSTANT. (#322568, Andrew Paprocki)
|
||||||
|
|
||||||
* glib/gslice.c: Win32 portability fixes and C99ism removal,
|
* glib/gslice.c: Win32 portability fixes and C99ism removal,
|
||||||
pointed out by Kazuki Iwamoto. (#323052)
|
pointed out by Kazuki Iwamoto. (#323052)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2005-12-02 Matthias Clasen <mclasen@redhat.com>
|
2005-12-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Define G_GUINT64_CONSTANT in analogy to
|
||||||
|
G_GINT64_CONSTANT. (#322568, Andrew Paprocki)
|
||||||
|
|
||||||
* glib/gslice.c: Win32 portability fixes and C99ism removal,
|
* glib/gslice.c: Win32 portability fixes and C99ism removal,
|
||||||
pointed out by Kazuki Iwamoto. (#323052)
|
pointed out by Kazuki Iwamoto. (#323052)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2005-12-02 Matthias Clasen <mclasen@redhat.com>
|
2005-12-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Define G_GUINT64_CONSTANT in analogy to
|
||||||
|
G_GINT64_CONSTANT. (#322568, Andrew Paprocki)
|
||||||
|
|
||||||
* glib/gslice.c: Win32 portability fixes and C99ism removal,
|
* glib/gslice.c: Win32 portability fixes and C99ism removal,
|
||||||
pointed out by Kazuki Iwamoto. (#323052)
|
pointed out by Kazuki Iwamoto. (#323052)
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ m4_define([glib_interface_age], [0])
|
|||||||
m4_define([glib_binary_age],
|
m4_define([glib_binary_age],
|
||||||
[m4_eval(100 * glib_minor_version + glib_micro_version)])
|
[m4_eval(100 * glib_minor_version + glib_micro_version)])
|
||||||
m4_define([glib_version],
|
m4_define([glib_version],
|
||||||
[glib_major_version.glib_minor_version.glib_micro_version])
|
[glib_major_version.glib_minor_version.glib_micro_version.cvs20051202])
|
||||||
|
|
||||||
# libtool version related macros
|
# libtool version related macros
|
||||||
m4_define([glib_lt_release], [glib_major_version.glib_minor_version])
|
m4_define([glib_lt_release], [glib_major_version.glib_minor_version])
|
||||||
@ -2224,6 +2224,7 @@ ${glib_extension}typedef signed $gint64 gint64;
|
|||||||
${glib_extension}typedef unsigned $gint64 guint64;
|
${glib_extension}typedef unsigned $gint64 guint64;
|
||||||
|
|
||||||
#define G_GINT64_CONSTANT(val) $gint64_constant
|
#define G_GINT64_CONSTANT(val) $gint64_constant
|
||||||
|
#define G_GUINT64_CONSTANT(val) $guint64_constant
|
||||||
_______EOF
|
_______EOF
|
||||||
|
|
||||||
if test x$gint64_format != x ; then
|
if test x$gint64_format != x ; then
|
||||||
@ -2547,6 +2548,7 @@ $ac_cv_sizeof_int)
|
|||||||
guint64_format='"u"'
|
guint64_format='"u"'
|
||||||
glib_extension=
|
glib_extension=
|
||||||
gint64_constant='(val)'
|
gint64_constant='(val)'
|
||||||
|
guint64_constant='(val)'
|
||||||
;;
|
;;
|
||||||
$ac_cv_sizeof_long)
|
$ac_cv_sizeof_long)
|
||||||
gint64=long
|
gint64=long
|
||||||
@ -2555,6 +2557,7 @@ $ac_cv_sizeof_long)
|
|||||||
guint64_format='"lu"'
|
guint64_format='"lu"'
|
||||||
glib_extension=
|
glib_extension=
|
||||||
gint64_constant='(val##L)'
|
gint64_constant='(val##L)'
|
||||||
|
guint64_constant='(val##UL)'
|
||||||
;;
|
;;
|
||||||
$ac_cv_sizeof_long_long)
|
$ac_cv_sizeof_long_long)
|
||||||
gint64='long long'
|
gint64='long long'
|
||||||
@ -2565,6 +2568,7 @@ $ac_cv_sizeof_long_long)
|
|||||||
fi
|
fi
|
||||||
glib_extension='G_GNUC_EXTENSION '
|
glib_extension='G_GNUC_EXTENSION '
|
||||||
gint64_constant='(G_GNUC_EXTENSION (val##LL))'
|
gint64_constant='(G_GNUC_EXTENSION (val##LL))'
|
||||||
|
guint64_constant='(G_GNUC_EXTENSION (val##ULL))'
|
||||||
;;
|
;;
|
||||||
$ac_cv_sizeof___int64)
|
$ac_cv_sizeof___int64)
|
||||||
gint64='__int64'
|
gint64='__int64'
|
||||||
@ -2575,6 +2579,7 @@ $ac_cv_sizeof___int64)
|
|||||||
fi
|
fi
|
||||||
glib_extension=
|
glib_extension=
|
||||||
gint64_constant='(val##i64)'
|
gint64_constant='(val##i64)'
|
||||||
|
guint64_constant='(val##ui64)'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
glib_size_t=$ac_cv_sizeof_size_t
|
glib_size_t=$ac_cv_sizeof_size_t
|
||||||
|
@ -194,6 +194,17 @@ This macro is used to insert 64-bit integer literals into the source code.
|
|||||||
@val: a literal integer value, e.g. 0x1d636b02300a7aa7U.
|
@val: a literal integer value, e.g. 0x1d636b02300a7aa7U.
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ##### MACRO G_GUINT64_CONSTANT ##### -->
|
||||||
|
<para>
|
||||||
|
This macro is used to insert 64-bit unsigned integer literals into the
|
||||||
|
source code.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@val: a literal integer value, e.g. 0x1d636b02300a7aa7U.
|
||||||
|
|
||||||
|
@Since: 2.10
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### TYPEDEF gfloat ##### -->
|
<!-- ##### TYPEDEF gfloat ##### -->
|
||||||
<para>
|
<para>
|
||||||
Corresponds to the standard C <type>float</type> type.
|
Corresponds to the standard C <type>float</type> type.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user