Class: FFIGen::Clang::Version
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- FFIGen::Clang::Version
- Defined in:
- lib/ffi_gen/clang.rb
Overview
Describes a version number of the form major.minor.subminor.
Fields:
- :major
-
(Integer) The major version number, e.g., the ‘10’ in ‘10.7.3’. A negative value indicates that there is no version number at all.
- :minor
-
(Integer) The minor version number, e.g., the ‘7’ in ‘10.7.3’. This value will be negative if no minor version number was provided, e.g., for version ‘10’.
- :subminor
-
(Integer) The subminor version number, e.g., the ‘3’ in ‘10.7.3’. This value will be negative if no minor or subminor version number was provided, e.g., in version ‘10’ or ‘10.7’.