Skip to content

Commit a45d5cd

Browse files
author
rodolpheh
committed
Rename functions to follow Zig coding style
1 parent 14c8500 commit a45d5cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zemscripten.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,11 @@ pub fn log(
202202
extern fn emscripten_wget(url: [*c]const u8, file: [*c]const u8) c_int;
203203
extern fn emscripten_wget_data(url: [*c]const u8, pbuffer: **anyopaque, pnum: *c_int, perror: *c_int) void;
204204

205-
pub fn Wget(url: [:0]const u8, file: [:0]const u8) c_int {
205+
pub fn wget(url: [:0]const u8, file: [:0]const u8) c_int {
206206
return emscripten_wget(url.ptr, file.ptr);
207207
}
208208

209-
pub fn WgetData(url: [:0]const u8) ![]u8 {
209+
pub fn wget_data(url: [:0]const u8) ![]u8 {
210210
var buffer_ptr: *anyopaque = undefined;
211211
var len: c_int = undefined;
212212
var err: c_int = undefined;

0 commit comments

Comments
 (0)