This commit is contained in:
cannoli-fruit 2026-07-08 22:34:18 -04:00
commit f4d4a8ab00
10 changed files with 266 additions and 0 deletions

14
examples/sb_concat.c Normal file
View file

@ -0,0 +1,14 @@
#include <stdio.h>
#define LAZY_IMPL
#include "../lazy.h"
int main() {
Lz_SB sb1 = lz_sb_from_cstr("Hello ");
Lz_SB sb2 = lz_sb_from_cstr("World!");
lz_da_concat(sb1,sb2);
printf(LZ_STR_FMT"\n", LZ_STR_PRINTF(sb1));
return 0;
}