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>
[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,
}
[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,
}
[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,
}
[CCode (cname = "struct ftdi_eeprom")]
- struct EEPROM {
+ public struct EEPROM {
public int vendor_id;
public int product_id;
public int self_powered;