Skip to content

Commit

Permalink
fix: func name to camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Jul 26, 2024
1 parent 3004488 commit 75502f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/root.zig
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ pub const libcurl = util.c;
/// must be called before the program calls any other function in libcurl.
/// A common place is in the beginning of the program. More see:
/// https://curl.se/libcurl/c/curl_global_init.html
pub fn global_init() !void {
pub fn globalInit() !void {
try checkCode(libcurl.curl_global_init(libcurl.CURL_GLOBAL_ALL));
}

/// This function releases resources acquired by curl_global_init.
pub fn global_deinit() void {
pub fn globalDeinit() void {
libcurl.curl_global_cleanup();
}

Expand Down

0 comments on commit 75502f8

Please sign in to comment.