Skip to content

Commit

Permalink
Update C docs
Browse files Browse the repository at this point in the history
* Quick C docs update, changing void pointer to `size_t`
  • Loading branch information
hassandraga committed May 6, 2023
1 parent 6bcf73c commit e526419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/c_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Please visit [C Examples](https://github.com/alifcommunity/webui/tree/main/examp
---
### New Window

To create a new window object, you can use `webui_new_window()`, which returns a void pointer. Please note that this pointer does *NOT* need to be freed.
To create a new window object, you can use `webui_new_window()`, which returns a `size_t`.

```c
size_t my_window = webui_new_window();
Expand Down

0 comments on commit e526419

Please sign in to comment.