I m using SWIG to make my C code work on php...But I don t figure out how to write a good interface based on my C code to pass to SWIG.Can somebody help me? The link to see what my C code looks like is this one : http://www.pastie.org/1739618 Thanks a lot for your help
For example, let s say I want to find a particular word or number in a file. The contents are in sorted order (obviously). Since I want to run a binary search on the file, it seems like a real waste ...