1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-24 02:16:19 +04:00

made constants public

This commit is contained in:
Stephen Marz 2020-05-22 22:10:23 -04:00
parent 9028044ced
commit a95afaff71

View File

@ -52,7 +52,7 @@ pub enum CtrlType {
RespErrInvalidParameter, RespErrInvalidParameter,
} }
const FLAG_FENCE: usize = 1 << 0; pub const FLAG_FENCE: usize = 1 << 0;
#[repr(C)] #[repr(C)]
pub struct CtrlHeader { pub struct CtrlHeader {
ctrl_type: CtrlType, ctrl_type: CtrlType,
@ -62,7 +62,7 @@ pub struct CtrlHeader {
padding: u32 padding: u32
} }
const MAX_SCANOUTS: usize = 16; pub const MAX_SCANOUTS: usize = 16;
#[repr(C)] #[repr(C)]
pub struct Rect { pub struct Rect {
x: u32, x: u32,