mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
codegen taskchampion.h
This commit is contained in:
parent
5c7eeeb87e
commit
1ed483ecde
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ void tc_server_free(struct TCServer *server);
|
||||||
*
|
*
|
||||||
* For example:
|
* For example:
|
||||||
*
|
*
|
||||||
* ```
|
* ```text
|
||||||
* char *url = get_item_url(..); // dynamically allocate C string
|
* char *url = get_item_url(..); // dynamically allocate C string
|
||||||
* tc_task_annotate(task, tc_string_borrow(url)); // TCString created, passed, and freed
|
* tc_task_annotate(task, tc_string_borrow(url)); // TCString created, passed, and freed
|
||||||
* free(url); // string is no longer referenced and can be freed
|
* free(url); // string is no longer referenced and can be freed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue