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).
In reply to Re: extract C function body
by Fletch
in thread extract C function body
by huaihai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |