Run-length encoding: Difference between revisions
Content added Content deleted
m (→{{header|C}}: "funciton" -> "function") |
|||
Line 480: | Line 480: | ||
typedef struct stream_t stream_t, *stream; |
typedef struct stream_t stream_t, *stream; |
||
struct stream_t { |
struct stream_t { |
||
/* get |
/* get function is supposed to return a byte value (0-255), |
||
or -1 to signify end of input */ |
or -1 to signify end of input */ |
||
int (*get)(stream); |
int (*get)(stream); |