working on extracting c declarations