@@ -21,7 +21,7 @@ pub fn main() !void {
2121 webui .clean ();
2222}
2323
24- fn my_function_string (e : webui.Event ) void {
24+ fn my_function_string (e : * webui.Event ) void {
2525 // JavaScript:
2626 // my_function_string('Hello', 'World`);
2727
@@ -35,7 +35,7 @@ fn my_function_string(e: webui.Event) void {
3535 std .debug .print ("my_function_string 2: {s}\n " , .{str_2 });
3636}
3737
38- fn my_function_integer (e : webui.Event ) void {
38+ fn my_function_integer (e : * webui.Event ) void {
3939 // JavaScript:
4040 // my_function_integer(123, 456, 789, 12345.6789);
4141
@@ -60,7 +60,7 @@ fn my_function_integer(e: webui.Event) void {
6060 std .debug .print ("my_function_integer 4: {}\n " , .{float_1 });
6161}
6262
63- fn my_function_boolean (e : webui.Event ) void {
63+ fn my_function_boolean (e : * webui.Event ) void {
6464 // JavaScript:
6565 // my_function_boolean(true, false);
6666
@@ -74,7 +74,7 @@ fn my_function_boolean(e: webui.Event) void {
7474 std .debug .print ("my_function_bool 2: {}\n " , .{status_2 });
7575}
7676
77- fn my_function_with_response (e : webui.Event ) void {
77+ fn my_function_with_response (e : * webui.Event ) void {
7878 // JavaScript:
7979 // my_function_with_response(number, 2).then(...)
8080
@@ -89,7 +89,7 @@ fn my_function_with_response(e: webui.Event) void {
8989 e .returnValue (res );
9090}
9191
92- fn my_function_raw_binary (e : webui.Event ) void {
92+ fn my_function_raw_binary (e : * webui.Event ) void {
9393 // JavaScript:
9494 // my_function_raw_binary(new Uint8Array([0x41]), new Uint8Array([0x42, 0x43]));
9595
0 commit comments