Skip to content

Commit 52836ef

Browse files
committed
call_zig_from_js - Adding line-break
1 parent 40578a6 commit 52836ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/call_zig_from_js/main.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn my_function_string(e: *webui.Event) void {
6565
}
6666

6767
fn getInteger(n1: i64, n2: i64, n3: i64, f1: f64) void {
68-
std.debug.print("number is {},{},{},{}", .{
68+
std.debug.print("number is {},{},{},{}\n", .{
6969
n1, n2, n3, f1,
7070
});
7171
}
@@ -96,7 +96,7 @@ fn my_function_integer(e: *webui.Event) void {
9696
}
9797

9898
fn getBool(b1: bool, b2: bool) void {
99-
std.debug.print("boolean is {},{}", .{
99+
std.debug.print("boolean is {},{}\n", .{
100100
b1, b2,
101101
});
102102
}

0 commit comments

Comments
 (0)