Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thin bindings to SDL for OCaml
Tsdl is an OCaml library providing thin bindings to the cross-platform
SDL C library.
Tsdl depends on the SDL 2.0.5 C library (or later),
ocaml-ctypes and the
result
compatibility package.Tsdl is distributed under the ISC license.
v0.9.3 2017-05-03 La Forclaz (VS)
Sdl.load_raw_rw
. Thanks to @sanette for thereport and the patch.
actual callback closure which would lead to
Ctypes_ffi_stubs.CallToExpiredClosure.
exceptions. The callbackwrapping is now done via the
Sdl.audio_callback
function. Theclient must keep a reference on the returned value until no longer
needed. As a side effect this changes the signature of
Sdl.load_raw_rw
. Thanks to @sanette for the report.Sdl.blit_scaled
. Thanks to Léo Andrès for the reportand the patch.
Pull-request generated by opam-publish v0.3.4