diff options
| author | peter <peter@pmikkelsen.com> | 2026-08-20 16:33:48 +0000 |
|---|---|---|
| committer | peter <peter@pmikkelsen.com> | 2026-08-20 16:33:48 +0000 |
| commit | 6fcc413c96d99ecbf405021d36292f0bc646fecb (patch) | |
| tree | 36abd3222aadbdc9f92fad2c8e7e152fcfdf0790 /src/aplwc.h | |
| parent | 3be992e3f45dcfd9f8a45fa447de3abb710819b7 (diff) | |
Test the aplwc_errstr and aplwc_errstr_rc functions
FossilOrigin-Name: c72c226a392ac25e688b131070bdfb2902b2a697766ecdfc0865b356cd3c2b2a
Diffstat (limited to 'src/aplwc.h')
| -rw-r--r-- | src/aplwc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/aplwc.h b/src/aplwc.h index 603e4f3..9905411 100644 --- a/src/aplwc.h +++ b/src/aplwc.h @@ -6,14 +6,16 @@ enum aplwc_rc { APLWC_OK, - APLWC_NOT_IMPLEMENTED, - APLWC_OUT_OF_MEMORY + APLWC_OUT_OF_MEMORY, + + APLWC_RC_LAST = APLWC_OUT_OF_MEMORY }; struct aplwc; enum aplwc_rc aplwc_new(struct aplwc **, uint8_t *, size_t); enum aplwc_rc aplwc_destroy(struct aplwc *); +const char *aplwc_errstr_rc(enum aplwc_rc); const char *aplwc_errstr(struct aplwc *); #define APLWC_MIN_MEM (128) |