mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
14 lines
425 B
C
14 lines
425 B
C
#ifndef PARSEE_STRSTREAM_H
|
|
#define PARSEE_STRSTREAM_H
|
|
|
|
#include <Cytoplasm/Stream.h>
|
|
|
|
/* Creates a string stream writer. The referenced buffer must be in the heap,
|
|
* or NULL. */
|
|
extern Stream * StrStreamWriter(char **buffer);
|
|
|
|
/* Creates a string stream reader. The referenced buffer may be everywhere. */
|
|
extern Stream * StrStreamReaderN(char *buffer, int n);
|
|
#define StrStreamReader(buf) StrStreamReaderN(buf, 0)
|
|
|
|
#endif
|