in reply to extract C function body
If you can guarantee a fairly rigid formatting you might can get away with using regexen to handle the job. There's also the C::Scan module which I think is what Inline uses (and if it's not, look at Inline::C and see what it does).
|
|---|