Re: Wrapping a C library.
- Posted by ghaberek (admin) Jan 16, 2012
- 2070 views
This was an easy one. As Matt said above, I compiled the code into a shared library and built a simple Euphoria wrapper around it. I also put together a make file to easily make && make install, as well as test the library (make test) and build the zip files I posted here (make binzip && make srczip).
Get it here:
Edit 1: I just realized that I left out the last two functions, and I make an example program using a simple example in the documentation.
Edit 2: Renamed project to eugnuplot, moved from Dropbox to BitBucket.
Please test it and let me know if it breaks. If this works for you, then I'll post it to the Archive for others to download.
-Greg