Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 319 Bytes
#ifndef _SC_SSTREAM_H_
#define _SC_SSTREAM_H_
typedef struct {
char *buf;
int capacity;
int len;
} sstream;
sstream* sstream_new(int capacity);
void sstream_dispose(sstream *stream);
int sstream_append(sstream *stream, char c);
char* sstream_cstr(sstream *stream);
Jump to Line
Something went wrong with that request. Please try again.