forked from osmocom/wireshark
dfad2b94f5
64-bit integer; use "g_ascii_strtoull()", and, in the configure script, check whether it's available in GLib (it's not in GLib 1.2[.x]) and, if not, supply the GLib 2.4.5 version of the routine. For G_MAXUINT32 and G_MAXUINT64, put a "U" at the end of the constant to explicitly flag it as unsigned. svn path=/trunk/; revision=11889
16 lines
325 B
C
16 lines
325 B
C
/*
|
|
* $Id$
|
|
*
|
|
* "g_ascii_strtoull()" extracted from GLib 2.4.5, for use with GLibs
|
|
* that don't have it (e.g., GLib 1.2[.x]).
|
|
*/
|
|
|
|
#ifndef __ETHEREAL_G_ASCII_STRTOULL_H__
|
|
#define __ETHEREAL_G_ASCII_STRTOULL_H__
|
|
|
|
extern guint64 g_ascii_strtoull (const gchar *nptr,
|
|
gchar **endptr,
|
|
guint base);
|
|
|
|
#endif
|