Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

See also "elastic arrays":

https://github.com/Tarsnap/libcperciva/blob/master/datastruc... https://github.com/Tarsnap/libcperciva/blob/master/datastruc...

    ELASTICARRAY_DECL(STR, str, char);
creates a type "STR" and the functions str_init, str_resize, str_getsize, str_append, str_shrink, str_truncate, str_get, str_iter, str_free, str_export, and str_exportdup.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: