Return a bool instead of a u1

This commit is contained in:
Chadtech 2020-11-22 18:24:49 -05:00
parent ae8e56cce9
commit 319ded66ca

View file

@ -537,7 +537,7 @@ pub fn startsWith(
bytes_len: usize,
prefix_ptr: [*]u8,
prefix_len: usize
) callconv(.C) u1 {
) callconv(.C) bool {
if(prefix_len > bytes_len) {
return false;
}