Skip to main content

orderbook_new

Function orderbook_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn orderbook_new( instrument_id: InstrumentId, book_type: BookType, ) -> *mut OrderBook
Expand description

Returns an owning pointer to the heap-allocated OrderBook which the caller must eventually pass to orderbook_drop.