mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
change representation of list/str
This commit is contained in:
parent
52772df2c3
commit
8013af7e97
6 changed files with 45 additions and 65 deletions
|
@ -118,7 +118,7 @@ const RocStr = struct {
|
|||
// Str.split
|
||||
|
||||
pub fn strSplitInPlace(
|
||||
bytes_array: [*]u128,
|
||||
array: [*]RocStr,
|
||||
array_len: usize,
|
||||
str_bytes_ptrs: [*]u8,
|
||||
str_len: usize,
|
||||
|
@ -126,8 +126,6 @@ pub fn strSplitInPlace(
|
|||
delimiter_len: usize
|
||||
) callconv(.C) void {
|
||||
|
||||
var array = @ptrCast([*]RocStr, bytes_array);
|
||||
|
||||
var ret_array_index : usize = 0;
|
||||
|
||||
var sliceStart_index : usize = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue