1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +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,
}
const FLAG_FENCE: usize = 1 << 0;
pub const FLAG_FENCE: usize = 1 << 0;
#[repr(C)]
pub struct CtrlHeader {
ctrl_type: CtrlType,
@ -62,7 +62,7 @@ pub struct CtrlHeader {
padding: u32
}
const MAX_SCANOUTS: usize = 16;
pub const MAX_SCANOUTS: usize = 16;
#[repr(C)]
pub struct Rect {
x: u32,