pub unsafe fn new(gen: u32) -> Self {
        Self {
            pages: Ptr::dangling(),

            #[cfg(feature = "pin_journals")]
            current: Ptr::dangling(),

            #[cfg(any(feature = "use_pspd", feature = "use_vspd"))]
            spd: Scratchpad::new(),

            gen,
            flags: 0,
            sec_id: 0,
            next_off: u64::MAX,
            prev_off: u64::MAX,
            chaperon: [0; 64],
        }
    }
/// Create new `Journal` with default values
Create new `Journal` with default values
Create new ` Journal ` with default values
pub unsafe fn new(gen: u32) -> Self {
        Self {
            pages: Ptr::dangling(),
            #[cfg(feature = "pin_journals")]
            current: Ptr::dangling(),
            #[cfg(any(feature = "use_pspd", feature = "use_vspd"))]
            spd: Scratchpad::new(),
            gen,
            flags: 0,
            sec_id: 0,
            next_off: u64::MAX,
            prev_off: u64::MAX,
            chaperon: [0; 64],
        }
    }
pub unsafe fn new ( gen : u32 ) -> Self { Self { pages : Ptr :: dangling ( ) , # [ cfg ( feature " " ) ] current : Ptr :: dangling ( ) , # [ cfg ( any ( feature " " feature " " ) ) ] spd : Scratchpad :: new ( ) , gen , flags : 0 , sec_id : 0 , next_off : u64 :: MAX , prev_off : u64 :: MAX , chaperon : [ 0 ; 64 ] , } }
Create new `Journal` with default values
Create new ` Journal ` with default values
gen
u32