mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 16:53:08 +02:00
return TCResult from tc_uuid_from_str
This commit is contained in:
parent
28a4599a6a
commit
c9c72b4fd3
4 changed files with 15 additions and 14 deletions
|
@ -456,9 +456,10 @@ void tc_uuid_to_buf(struct TCUuid tcuuid, char *buf);
|
|||
struct TCString *tc_uuid_to_str(struct TCUuid tcuuid);
|
||||
|
||||
/**
|
||||
* Parse the given string as a UUID. Returns false on failure.
|
||||
* Parse the given string as a UUID. Returns TC_RESULT_ERROR on parse failure or if the given
|
||||
* string is not valid.
|
||||
*/
|
||||
bool tc_uuid_from_str(struct TCString *s, struct TCUuid *uuid_out);
|
||||
TCResult tc_uuid_from_str(struct TCString *s, struct TCUuid *uuid_out);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue