In lib/lexbor/src/lexbor/node/serialization.cr:31:53
31 | Lib.serialize_tree_cb(node.@element, SERIALIZE_CALLBACK, iow.as(Void*))
^-----------------
Error: argument 'cb' of 'Lexbor::Lib#serialize_tree_cb' must be Lexbor::Lib::SerializeCbT, not Proc(Pointer(UInt8), UInt64, Pointer(Void), Lexbor::Lib::StatusT)
Could you please look at this?
In lib/lexbor/src/lexbor/node/serialization.cr:31:53
31 | Lib.serialize_tree_cb(node.@element, SERIALIZE_CALLBACK, iow.as(Void*)) ^----------------- Error: argument 'cb' of 'Lexbor::Lib#serialize_tree_cb' must be Lexbor::Lib::SerializeCbT, not Proc(Pointer(UInt8), UInt64, Pointer(Void), Lexbor::Lib::StatusT)