diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-07-14 14:50:08 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-07-14 14:50:08 -0400 |
commit | aee7f7551139af26cc15fe593de8825af77dea4f (patch) | |
tree | 13dc06a2e7288e2ae6e265ca6712a22fcadf0e27 /foreign_msvc32.c | |
parent | 8b2384c94e2f5834f3b8929f982a19edde1503d9 (diff) |
formatting cleanup
Diffstat (limited to 'foreign_msvc32.c')
-rw-r--r-- | foreign_msvc32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/foreign_msvc32.c b/foreign_msvc32.c index da98f2d..83c7252 100644 --- a/foreign_msvc32.c +++ b/foreign_msvc32.c @@ -56,7 +56,7 @@ static Status val_to_words(Value v, Type *t, Location where, Word *w) { } -/* +/* because of the way the MSVC "cdecl" calling convention works, the only things that affect the way a function is called are the number of arguments and whether the function returns an integer (or pointer), floating-point number, or struct (struct return values are not supported yet). @@ -190,11 +190,11 @@ static Status foreign_call(ForeignFnManager *ffmgr, FnExpr *fn, Type *ret_type, switch (ret_type->kind) { case TYPE_BUILTIN: switch (ret_type->builtin) { - case BUILTIN_I8: + case BUILTIN_I8: case BUILTIN_I16: case BUILTIN_I32: case BUILTIN_I64: - case BUILTIN_U8: + case BUILTIN_U8: case BUILTIN_U16: case BUILTIN_U32: case BUILTIN_U64: |