Skip to content

Commit

Permalink
style: add missing new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
liz3 committed Feb 16, 2024
1 parent c916d22 commit 7a6551e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ test1.du
/.env
/vcpkg_installed
/Release
examples/ffi-example/build
examples/ffi-example/build
2 changes: 1 addition & 1 deletion examples/ffi-example/ffi.du
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ for(var i = 0; i < 25; i+=1) {
print(mod.dictu_ffi_test(1, i*2));
print(mod.dictu_ffi_test_str());
}
print(mod.test);
print(mod.test);
2 changes: 1 addition & 1 deletion examples/ffi-example/src/dictu-include.h
Original file line number Diff line number Diff line change
Expand Up @@ -640,4 +640,4 @@ int dictu_internal_ffi_init(void **function_ptrs, DictuVM *vm,
#ifdef __cplusplus
}
#endif
#endif
#endif
2 changes: 1 addition & 1 deletion examples/ffi-example/src/lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ int dictu_ffi_init(DictuVM *vm, Table *method_table) {
vm, method_table, "test",
OBJ_VAL(copyString(vm, "Dictu!", 6)));
return 0;
}
}
2 changes: 1 addition & 1 deletion src/optionals/ffi/ffi.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,4 @@ Value createFFIModule(DictuVM *vm) {
pop(vm);

return OBJ_VAL(module);
}
}
2 changes: 1 addition & 1 deletion tests/ffi/ffi.du
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ class TestFFIModule < UnitTest {
}
}

TestFFIModule().run();
TestFFIModule().run();
2 changes: 1 addition & 1 deletion tests/ffi/import.du
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
*
* General import file for the FFI module tests
*/
import "ffi.du";
import "ffi.du";

0 comments on commit 7a6551e

Please sign in to comment.