Skip to content

Commit

Permalink
Reformat files via pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kabanov committed Jan 14, 2025
1 parent ad6c79a commit a6877a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions oif_impl/lang_c/dispatch_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ call_impl(ImplInfo *impl_info_, const char *method, OIFArgs *in_args, OIFArgs *o
if (in_args->arg_types[i] == OIF_FLOAT64) {
arg_types[i] = &ffi_type_double;
}
else if (in_args->arg_types[i] == OIF_ARRAY_F64 ||
in_args->arg_types[i] == OIF_STR) {
else if (in_args->arg_types[i] == OIF_ARRAY_F64 || in_args->arg_types[i] == OIF_STR) {
arg_types[i] = &ffi_type_pointer;
}
else if (in_args->arg_types[i] == OIF_CALLBACK) {
Expand Down

0 comments on commit a6877a5

Please sign in to comment.