Fixed tiny issues, Added test

This commit is contained in:
2026-10-12 20:43:04 +02:00
parent 0b65e3949f
commit 9d7f45e1fc
6 changed files with 82 additions and 16 deletions
+10 -2
View File
@@ -41,8 +41,16 @@ XIncludeFile "./_Allocators.pbi"
;-> Utils
Procedure MsgPackGetFieldSize(*MsgPackData.MsgPackData)
Procedure MsgPackGetValueDynamicSize(*MsgPackData.MsgPackData)
CompilerIf Not #MsgPack_DisableNullChecks
If Not *MsgPackData
DebuggerError("A #Null MsgPackData pointer was passed !")
ProcedureReturn #MsgPack_Error_NullPointerGiven
EndIf
CompilerEndIf
EndProcedure
Procedure.q MsgPackGetFieldFullSize(*MsgPackData.MsgPackData)