1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-29 06:37:41 +00:00

fix C source format

This commit is contained in:
J.-F. Cap
2019-02-23 17:13:43 +01:00
parent 0cc6c6ff33
commit 2becebce92
5 changed files with 238 additions and 240 deletions

View File

@@ -432,8 +432,7 @@ static Janet cfun_typed_array_copy_bytes(int32_t argc, Janet *argv) {
pd += step_dst; pd += step_dst;
ps += step_src; ps += step_src;
} }
} } else
else
janet_panic("typed array copy out of bound"); janet_panic("typed array copy out of bound");
} else { } else {
janet_panic("expected typed array"); janet_panic("expected typed array");
@@ -466,8 +465,7 @@ static Janet cfun_typed_array_swap_bytes(int32_t argc, Janet *argv) {
pd += step_dst; pd += step_dst;
ps += step_src; ps += step_src;
} }
} } else
else
janet_panic("typed array swap out of bound"); janet_panic("typed array swap out of bound");
} else { } else {
janet_panic("expected typed array"); janet_panic("expected typed array");