From fc2ecd5ea9cbb051c6e94bfd595f192743140202 Mon Sep 17 00:00:00 2001 From: Juerg Billeter Date: Mon, 21 Apr 2008 22:13:33 +0000 Subject: [PATCH] mark enums as public, patch by Evan Nemerson 2008-04-22 Juerg Billeter * vapi/libftdi.vapi: mark enums as public, patch by Evan Nemerson svn path=/trunk/; revision=1305 --- ChangeLog | 4 ++++ vapi/libftdi.vapi | 16 ++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3ca1ac2..19ec599 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-04-22 Jürg Billeter + * vapi/libftdi.vapi: mark enums as public, patch by Evan Nemerson + +2008-04-22 Jürg Billeter + * configure.ac: Post-release version bump 2008-04-22 Jürg Billeter diff --git a/vapi/libftdi.vapi b/vapi/libftdi.vapi index fa90868..fdb50eb 100644 --- a/vapi/libftdi.vapi +++ b/vapi/libftdi.vapi @@ -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; -- 2.7.4