pub fn process_str(s: &str, context: &mut Context) -> Result<String, Error>
Expand description
Process a multi-line string of text.
See process_buf
for more details.
ยงExamples
assert_eq!(gpp::process_str("#define A 1\n A 2 3 \n", &mut gpp::Context::new()).unwrap(), " 1 2 3 \n");