Skip to content

Commit b231752

Browse files
rtfeldmanandrewrk
andauthored
Make RocRealloc extern
Co-authored-by: Andrew Kelley <[email protected]> Signed-off-by: Richard Feldman <[email protected]>
1 parent 609bac1 commit b231752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host_abi.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub const RocDealloc = struct {
8484
/// If it cannot provide a non-null pointer (e.g. due to OOM), it
8585
/// must not return, and must instead do something along the lines
8686
/// of roc_crashed.
87-
pub const RocRealloc = struct {
87+
pub const RocRealloc = extern struct {
8888
alignment: usize,
8989
new_length: usize,
9090
answer: *anyopaque,

0 commit comments

Comments
 (0)