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:
parent
9028044ced
commit
a95afaff71
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user