aboutsummaryrefslogtreecommitdiff
path: root/core/bytes/bytes.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-02-23 16:14:47 +0000
committergingerBill <bill@gingerbill.org>2021-02-23 16:14:47 +0000
commitaa933050155b288e0d6eb3c9327fc2726927f90b (patch)
tree16bc18b10cbea0879994c75a4bab5f9e3ae705d5 /core/bytes/bytes.odin
parent41b854f192a5a7d190a4b49496638254ed0dbb64 (diff)
Replace usage of `inline proc` with `#force_inline proc` in the core library
Diffstat (limited to 'core/bytes/bytes.odin')
-rw-r--r--core/bytes/bytes.odin8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/bytes/bytes.odin b/core/bytes/bytes.odin
index de640421f..a18772086 100644
--- a/core/bytes/bytes.odin
+++ b/core/bytes/bytes.odin
@@ -185,19 +185,19 @@ _split :: proc(s, sep: []byte, sep_save, n: int, allocator := context.allocator)
return res[:i+1];
}
-split :: inline proc(s, sep: []byte, allocator := context.allocator) -> [][]byte {
+split :: proc(s, sep: []byte, allocator := context.allocator) -> [][]byte {
return _split(s, sep, 0, -1, allocator);
}
-split_n :: inline proc(s, sep: []byte, n: int, allocator := context.allocator) -> [][]byte {
+split_n :: proc(s, sep: []byte, n: int, allocator := context.allocator) -> [][]byte {
return _split(s, sep, 0, n, allocator);
}
-split_after :: inline proc(s, sep: []byte, allocator := context.allocator) -> [][]byte {
+split_after :: proc(s, sep: []byte, allocator := context.allocator) -> [][]byte {
return _split(s, sep, len(sep), -1, allocator);
}
-split_after_n :: inline proc(s, sep: []byte, n: int, allocator := context.allocator) -> [][]byte {
+split_after_n :: proc(s, sep: []byte, n: int, allocator := context.allocator) -> [][]byte {
return _split(s, sep, len(sep), n, allocator);
}