mark enums as public, patch by Evan Nemerson
authorJuerg Billeter <j@bitron.ch>
Mon, 21 Apr 2008 22:13:33 +0000 (22:13 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 21 Apr 2008 22:13:33 +0000 (22:13 +0000)
2008-04-22  Juerg Billeter  <j@bitron.ch>

* vapi/libftdi.vapi: mark enums as public, patch by Evan Nemerson

svn path=/trunk/; revision=1305

ChangeLog
vapi/libftdi.vapi

index 3ca1ac2..19ec599 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-04-22  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/libftdi.vapi: mark enums as public, patch by Evan Nemerson
+
+2008-04-22  Jürg Billeter  <j@bitron.ch>
+
        * configure.ac: Post-release version bump
 
 2008-04-22  Jürg Billeter  <j@bitron.ch>
index fa90868..fdb50eb 100644 (file)
@@ -1,14 +1,14 @@
 [CCode (cprefix = "ftdi_", lower_case_prefix = "ftdi_", cheader_filename = "ftdi.h,usb.h")]
 namespace FTDI {
        [CCode (cprefix = "TYPE_")]
-       enum ChipType {
+       public enum ChipType {
                AM,
                BM,
                2232C
        }
 
        [CCode (cprefix = "")]
-       enum ParityType {
+       public enum ParityType {
                NONE,
                ODD,
                EVEN,
@@ -17,20 +17,20 @@ namespace FTDI {
        }
 
        [CCode (cprefix = "STOP_")]
-       enum StopBitsType {
+       public enum StopBitsType {
                BIT_1,
                BIT_15,
                BIT_2
        }
 
        [CCode (cprefix = "")]
-       enum BitsType {
+       public enum BitsType {
                BITS_7,
                BITS_8
        }
 
        [CCode (cprefix = "BITMODE_", cname = "ftdi_mpsse_mode")]
-       enum MPSSEMode {
+       public enum MPSSEMode {
                RESET,
                BITBANG,
                MPSSE,
@@ -41,14 +41,14 @@ namespace FTDI {
        }
 
        [CCode (cprefix = "INTERFACE_")]
-       enum Interface {
+       public enum Interface {
                ANY,
                A,
                B
        }
 
        [CCode (cprefix = "SIO_")]
-       enum FlowControlType {
+       public enum FlowControlType {
                DISABLE_FLOW_CTRL,
                RTS_CTS_HS,
                DTR_DSR_HS,
@@ -62,7 +62,7 @@ namespace FTDI {
        }
 
        [CCode (cname = "struct ftdi_eeprom")]
-       struct EEPROM {
+       public struct EEPROM {
                public int vendor_id;
                public int product_id;
                public int self_powered;