IDL: Fix missing OrderTreeRoot

This commit is contained in:
Christian Kamm 2022-12-08 11:22:37 +01:00
parent f37b94a189
commit b66dc7ae80
2 changed files with 34 additions and 2 deletions

View File

@ -26,8 +26,8 @@ pub enum OrderTreeType {
Asks,
}
#[derive(Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)]
#[repr(C)]
#[zero_copy]
#[derive(bytemuck::Pod, bytemuck::Zeroable)]
pub struct OrderTreeRoot {
pub maybe_node: NodeHandle,
pub leaf_count: u32,

View File

@ -5498,6 +5498,22 @@ export type MangoV4 = {
]
}
},
{
"name": "OrderTreeRoot",
"type": {
"kind": "struct",
"fields": [
{
"name": "maybeNode",
"type": "u32"
},
{
"name": "leafCount",
"type": "u32"
}
]
}
},
{
"name": "OrderTreeNodes",
"docs": [
@ -12898,6 +12914,22 @@ export const IDL: MangoV4 = {
]
}
},
{
"name": "OrderTreeRoot",
"type": {
"kind": "struct",
"fields": [
{
"name": "maybeNode",
"type": "u32"
},
{
"name": "leafCount",
"type": "u32"
}
]
}
},
{
"name": "OrderTreeNodes",
"docs": [