text: make text_snapshot return whether it succeeded
commit5f1ade1308a080fc27f43ae9504432255958a6f9
authorMarc André Tanner <mat@brain-dump.org>
Thu, 1 Oct 2020 18:46:27 +0000 (1 20:46 +0200)
committerMarc André Tanner <mat@brain-dump.org>
Sat, 10 Oct 2020 08:03:17 +0000 (10 10:03 +0200)
tree9a10b1d16a6f8159ac26284254b8e80e1fb8d71c
parent54614939ff8e65d0831a8b64e575c03215a183aa
text: make text_snapshot return whether it succeeded

Currently this can't fail, but one can imagine implementations which do.
text.c
text.h