#include #include int main(void) { scc_pproc_t pp; scc_mem_probe_stream_t input; scc_probe_stream_t *output; const char buf[] = "#define A 123 \"asd\"\nA A A\n"; output = scc_pproc_init( &pp, scc_mem_probe_stream_init(&input, buf, sizeof(buf) - 1, false)); int ch = 0; while (1) { ch = scc_probe_stream_consume(output); if (ch == scc_stream_eof) { break; } putc(ch, stdout); } return 0; }