stacinhtml

Static C in HTML - simple static site generator
git clone git://git.kocotian.pl/stacinhtml.git
Log | Files | Refs | README | LICENSE

commit bd0283c4138f29047ede3854e2cfdda091ee739c
parent ba7cea580ed2c64119079b8d1192070e399d0ac3
Author: kocotian <kocotian@kocotian.pl>
Date:   Mon, 22 Mar 2021 19:12:43 +0100

Printing variables

Diffstat:
Massemble.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/assemble.h b/assemble.h @@ -28,6 +28,7 @@ /* Macros */ #define $(VARNAME) getVariableValue(#VARNAME) +#define $$(VARNAME) write(fd, $(VARNAME).data, $(VARNAME).len); #define DECLVAR(VARNAME, VALUE) \ (vs[vss].name.len = strlen(vs[vss].name.data = #VARNAME), \ vs[vss].value.len = strlen(vs[vss].value.data = VALUE), \