[vala] glib-2.0: Add ungetc binding



commit 7e1be2bba97a82b6dcbe5e2262b8b22ec8a66ff7
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 705f9dc..a4191e4 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2826,6 +2826,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]