WIP - Constants
This commit is contained in:
parent
d482896c8a
commit
e48aadd16f
|
@ -584,7 +584,7 @@ fn rpc_codegen_callback_fn<'ctx>(
|
||||||
let buffer = ArraySliceValue::from_ptr_val(buffer, buffer_size, None);
|
let buffer = ArraySliceValue::from_ptr_val(buffer, buffer_size, None);
|
||||||
|
|
||||||
for (offset, byte) in
|
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 {
|
let pbuffer = unsafe {
|
||||||
buffer.ptr_offset_unchecked(
|
buffer.ptr_offset_unchecked(
|
||||||
|
|
Loading…
Reference in New Issue