summaryrefslogtreecommitdiff
path: root/callingconvention.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-08-01 14:45:39 -0400
committerMason Reed <mason@vector35.com>2024-12-14 13:13:37 -0500
commit121c16592476754800b00a3b51595f4799944d04 (patch)
treeb1f9556704ff169bca8a66be0a0faa448e5e9ecf /callingconvention.cpp
parent487fa4b240ae2c2d5a712dd6e00071f8de57d0fc (diff)
Pass length to free register list callback
Allows language bindings like rust to free register lists sanely
Diffstat (limited to 'callingconvention.cpp')
-rw-r--r--callingconvention.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/callingconvention.cpp b/callingconvention.cpp
index 50cf5062..171ef953 100644
--- a/callingconvention.cpp
+++ b/callingconvention.cpp
@@ -119,7 +119,7 @@ uint32_t* CallingConvention::GetFloatArgumentRegistersCallback(void* ctxt, size_
}
-void CallingConvention::FreeRegisterListCallback(void*, uint32_t* regs)
+void CallingConvention::FreeRegisterListCallback(void*, uint32_t* regs, size_t)
{
delete[] regs;
}