WIP - Constants

This commit is contained in:
David Mak 2024-08-13 17:53:03 +08:00
parent 75ac769df4
commit 31d9324ff6
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ fn rpc_codegen_callback_fn<'ctx>(
let buffer = ArraySliceValue::from_ptr_val(buffer, buffer_size, None);
for (offset, byte) in
[0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 1u8].into_iter().enumerate()
[1u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8, 0u8].into_iter().enumerate()
{
let pbuffer = unsafe {
buffer.ptr_offset_unchecked(