-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding bindings to SDL2_image #20
Comments
I would rather keep things separate separate and expose the definitions you need in order to interact with SDL. What would you need ? Note that there are already a few undocumented That didn't make it into a release yet as I would like to have #13 solved first (but don't have the time to look into this right now). |
Incidentally, I have some SDL_image bindings in the same style as tsdl-mixer and tsdl-ttf, but I had been waiting til I had time to polish all three (including documentation and tests) to release them. But if you are interested and don't already have your bindings written, check out https://github.com/tokenrove/tsdl-image and encourage me to Do The Right Thing and get them cleaned up and into opam. |
@tokenrove if you need a release of tsdl to get them out before I manage to have a look at #13, just ping me and it will be done. |
Oh, thanks for the answers! 4a4ffc2 looks great indeed, and I'll be very happy with a release of your SDL_image bindings! In the meantime I'm gonna pin the git version and try them out :). |
Hi,
I was wondering what would be the be the simplest way to bind functions from SDL2_image (which is pretty useful, and that I would like to use)?
SDL2_image is distinct from the base C library, so it would be legit to separate the OCaml bindings from tsdl; however it would be great to be able to reuse the ctypes definitions from tsdl, which are not available (obviously) in the API.
I also tried a bit to just modify tsdl.ml in place to add some bindings, but I did not manage to tweak the build system to link to SDL2_image, so here I am, asking for help :-°.
-- Armael
The text was updated successfully, but these errors were encountered: