[vala/0.10] glib-2.0: Add ungetc binding



commit d2d73d8a9cc877e5b61706aee965300cbc9e9a68
Author: Jürg Billeter <j bitron ch>
Date:   Thu Oct 14 15:51:28 2010 +0200

    glib-2.0: Add ungetc binding
    
    Fixes bug 629665.

 vapi/glib-2.0.vapi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 237adb1..3ba1110 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2809,6 +2809,8 @@ namespace GLib {
 		public void puts (string s);
 		[CCode (cname = "fgetc")]
 		public int getc ();
+		[CCode (cname = "ungetc", instance_pos = -1)]
+		public int ungetc (int c);
 		[CCode (cname = "fgets", instance_pos = -1)]
 		public unowned string gets (char[] s);
 		[CCode (cname = "feof")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]