[vala] glib-2.0: Include glib/gstdio.h when using DirUtils or Stat
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Include glib/gstdio.h when using DirUtils or Stat
- Date: Tue, 29 May 2012 09:44:42 +0000 (UTC)
commit 64f3796112e30eaa7e65b37994a685c13256c9b4
Author: JÃrg Billeter <j bitron ch>
Date: Tue May 29 11:43:19 2012 +0200
glib-2.0: Include glib/gstdio.h when using DirUtils or Stat
vapi/glib-2.0.vapi | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 89400d7..2d1c4f6 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3050,7 +3050,7 @@ namespace GLib {
public static int close (int fd);
}
- [CCode (cname = "struct stat", cheader_filename = "sys/stat.h")]
+ [CCode (cname = "struct stat", cheader_filename = "sys/stat.h,glib/gstdio.h")]
public struct Stat {
[CCode (cname = "g_stat", instance_pos = -1)]
public Stat (string filename);
@@ -3066,6 +3066,7 @@ namespace GLib {
public void rewind ();
}
+ [CCode (cheader_filename = "glib/gstdio.h")]
namespace DirUtils {
[CCode (cname = "g_mkdir")]
public static int create (string pathname, int mode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]