From 02ad8989fe80e5894f1a94daf2a638bac5d019ae Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Tue, 7 Nov 2023 20:29:46 +0100 Subject: [PATCH] Documented behavior of preproc --- include/ulas.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ulas.h b/include/ulas.h index 14c10f0..072d047 100644 --- a/include/ulas.h +++ b/include/ulas.h @@ -249,6 +249,8 @@ int ulas_preproc(FILE *dst, FILE *src); // returns 0 if no more data can be read // 1 if data was read // -1 on error +// it also places the processed line into pp->line.buf +// note that this is overwritten by every call! int ulas_preprocnext(struct ulas_preproc *pp, FILE *dst, FILE *src, char *buf, int n); -- 2.30.2