vala r1557 - in trunk: . vapi
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r1557 - in trunk: . vapi
- Date: Tue, 3 Jun 2008 20:24:03 +0000 (UTC)
Author: juergbi
Date: Tue Jun 3 20:24:02 2008
New Revision: 1557
URL: http://svn.gnome.org/viewvc/vala?rev=1557&view=rev
Log:
2008-06-03 JÃrg Billeter <j bitron ch>
* vapi/glib-2.0.vapi:
Add byte order and number format constants, patch by Ali Sabil
Modified:
trunk/ChangeLog
trunk/vapi/glib-2.0.vapi
Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi (original)
+++ trunk/vapi/glib-2.0.vapi Tue Jun 3 20:24:02 2008
@@ -181,6 +181,11 @@
[CCode (cname = "G_MAXSIZE")]
public static ulong MAX;
+ [CCode (cname = "G_GSIZE_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GSIZE_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%zu");
@@ -200,6 +205,11 @@
[CCode (cname = "G_MAXSSIZE")]
public static long MAX;
+ [CCode (cname = "G_GSSIZE_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GSIZE_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%zi");
@@ -248,6 +258,11 @@
[CCode (cname = "G_MAXINT16")]
public static int16 MAX;
+ [CCode (cname = "G_GINT16_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GINT16_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%hi");
@@ -264,6 +279,11 @@
[CCode (cname = "G_MAXUINT16")]
public static uint16 MAX;
+ [CCode (cname = "G_GUINT16_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GINT16_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%hu");
@@ -280,6 +300,11 @@
[CCode (cname = "G_MAXINT32")]
public static int32 MAX;
+ [CCode (cname = "G_GINT32_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GINT32_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%i");
@@ -296,6 +321,11 @@
[CCode (cname = "G_MAXUINT32")]
public static uint32 MAX;
+ [CCode (cname = "G_GUINT32_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GINT32_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%u");
@@ -312,6 +342,11 @@
[CCode (cname = "G_MAXINT64")]
public static int64 MAX;
+ [CCode (cname = "G_GINT64_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GINT64_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%lli");
@@ -328,6 +363,11 @@
[CCode (cname = "G_MAXUINT64")]
public static uint64 MAX;
+ [CCode (cname = "G_GUINT64_FORMAT")]
+ public const string FORMAT;
+ [CCode (cname = "G_GINT64_MODIFIER")]
+ public const string FORMAT_MODIFIER;
+
[CCode (cname = "g_strdup_printf", instance_pos = -1)]
public string to_string (string format = "%llu");
@@ -1097,6 +1137,18 @@
public static float scalbf (float x, float n);
}
+ /* Byte order */
+ namespace ByteOrder {
+ [CCode (cname = "G_BYTE_ORDER")]
+ public const int HOST;
+ [CCode (cname = "G_LITTLE_ENDIAN")]
+ public const int LITTLE_ENDIAN;
+ [CCode (cname = "G_BIG_ENDIAN")]
+ public const int BIG_ENDIAN;
+ [CCode (cname = "G_PDP_ENDIAN")]
+ public const int PDP_ENDIAN;
+ }
+
/* Atomic Operations */
namespace AtomicInt {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]