init
This commit is contained in:
commit
f4d4a8ab00
10 changed files with 266 additions and 0 deletions
14
examples/sb_concat.c
Normal file
14
examples/sb_concat.c
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue