TCFoo::from_arg to take from a pointer

This commit is contained in:
Dustin J. Mitchell
2022-01-30 23:53:12 +00:00
parent 364ca57736
commit d24319179c
3 changed files with 30 additions and 14 deletions

View File

@@ -138,7 +138,8 @@ enum TCResult tc_replica_undo(struct TCReplica *rep);
struct TCString *tc_replica_error(struct TCReplica *rep);
/**
* Free a TCReplica.
* Free a replica. The replica may not be used after this function returns and must not be freed
* more than once.
*/
void tc_replica_free(struct TCReplica *rep);