mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
correct type of bytes_or_null to allow it to be aligned to 1 instead of 8
This commit is contained in:
parent
e5bbbe615c
commit
f1126aae75
1 changed files with 3 additions and 3 deletions
|
@ -226,7 +226,7 @@ pub fn decrefCheckNullC(
|
|||
}
|
||||
|
||||
pub fn decrefDataPtrC(
|
||||
bytes_or_null: ?[*]isize,
|
||||
bytes_or_null: ?[*]u8,
|
||||
alignment: u32,
|
||||
) callconv(.C) void {
|
||||
var bytes = bytes_or_null orelse return;
|
||||
|
@ -242,7 +242,7 @@ pub fn decrefDataPtrC(
|
|||
}
|
||||
|
||||
pub fn increfDataPtrC(
|
||||
bytes_or_null: ?[*]isize,
|
||||
bytes_or_null: ?[*]u8,
|
||||
inc_amount: isize,
|
||||
) callconv(.C) void {
|
||||
var bytes = bytes_or_null orelse return;
|
||||
|
@ -257,7 +257,7 @@ pub fn increfDataPtrC(
|
|||
}
|
||||
|
||||
pub fn freeDataPtrC(
|
||||
bytes_or_null: ?[*]isize,
|
||||
bytes_or_null: ?[*]u8,
|
||||
alignment: u32,
|
||||
) callconv(.C) void {
|
||||
var bytes = bytes_or_null orelse return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue