Skip to content

Commit

Permalink
Fix uninitialized webview_init error
Browse files Browse the repository at this point in the history
  • Loading branch information
passy authored and richardhozak committed May 16, 2023
1 parent e87e08c commit 82d7cbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webview-sys/webview_cocoa.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ struct cocoa_webview {
void *userdata;
};

WEBVIEW_API int webview_init(webview_t w);

WEBVIEW_API void webview_free(webview_t w) {
free(w);
}
Expand Down

0 comments on commit 82d7cbc

Please sign in to comment.