[vala] linux: Make If* enums public



commit bfe2c4d88560241da9c4b366d1743387b48e2213
Author: Jan DvoÅÃk <mordae anilinux org>
Date:   Sun Dec 2 01:52:50 2012 +0100

    linux: Make If* enums public
    
    Fixes bug 689466.

 vapi/linux.vapi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index 47ebe57..ffa7ce4 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -1335,7 +1335,7 @@ namespace Linux {
         public static int getifaddrs (out IfAddrs ifap);
 
         [CCode (cprefix = "IFA_", has_type_id = false, cheader_filename = "linux/if_addr.h")]
-        enum IfAddrType {
+        public enum IfAddrType {
             UNSPEC,
             ADDRESS,
             LOCAL,
@@ -1352,7 +1352,7 @@ namespace Linux {
         public Linux.Netlink.RtAttr* IFA_RTA (Linux.Network.IfAddrMsg* msg);
 
         [CCode (cprefix = "ARPHRD_", has_type_id = false, cheader_filename = "linux/if_arp.h")]
-        enum IfArpHeaderType {
+        public enum IfArpHeaderType {
             NETROM,
             ETHER,
             EETHER,
@@ -1417,7 +1417,7 @@ namespace Linux {
         }
 
         [CCode (cprefix = "ARPOP_", has_type_id = false, cheader_filename = "linux/if_arp.h")]
-        enum IfArpOpcode {
+        public enum IfArpOpcode {
             REQUEST,
             REPLY,
             RREQUEST,



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