-
Notifications
You must be signed in to change notification settings - Fork 472
Move {ttf, image, mixer, gfx}::ffi into sdl2_sys and make them public #647
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
Labels
Milestone
Comments
jonemil
added a commit
to jonemil/rust-sdl2
that referenced
this issue
Apr 2, 2018
The 'mixer' feature is re-exported so compiling without it will leave out the mixer function definitions in sdl2-sys crate as well. Progresses on Rust-SDL2#647
jonemil
added a commit
to jonemil/rust-sdl2
that referenced
this issue
Apr 2, 2018
jonemil
added a commit
to jonemil/rust-sdl2
that referenced
this issue
Apr 2, 2018
Progresses on Rust-SDL2#647
jonemil
added a commit
to jonemil/rust-sdl2
that referenced
this issue
Apr 2, 2018
Progresses on Rust-SDL2#647
jonemil
added a commit
to jonemil/rust-sdl2
that referenced
this issue
Apr 2, 2018
jonemil
added a commit
to jonemil/rust-sdl2
that referenced
this issue
Apr 2, 2018
I'm not sure if this is the intended way of using bindgen, but the SDL_image bindings now piggy-back on the core SDL bindings by blacklisting some types that gets dragged into the image module. The solution probably does not scale, but it might be preferable to have autoupdateable bindings rather than having to do it manually. Progresses on Rust-SDL2#647
jonemil
added a commit
to jonemil/rust-sdl2
that referenced
this issue
Apr 2, 2018
Had to change some mutability of some raw pointers used, but the ttf demo seem to work. Progresses on Rust-SDL2#647
jonemil
added a commit
to jonemil/rust-sdl2
that referenced
this issue
Apr 2, 2018
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
The 'mixer' feature is re-exported so compiling without it will leave out the mixer function definitions in sdl2-sys crate as well. Progresses on Rust-SDL2#647
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
Progresses on Rust-SDL2#647
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
Progresses on Rust-SDL2#647
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
I'm not sure if this is the intended way of using bindgen, but the SDL_image bindings now piggy-back on the core SDL bindings by blacklisting some types that gets dragged into the image module. The solution probably does not scale, but it might be preferable to have autoupdateable bindings rather than having to do it manually. Progresses on Rust-SDL2#647
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
Had to change some mutability of some raw pointers used, but the ttf demo seem to work. Progresses on Rust-SDL2#647
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
sypwex
pushed a commit
to sypwex/rust-sdl2
that referenced
this issue
Jun 2, 2024
Renamed the binding files to be consistent. The build script could probably benefit from a good cleanup. Closes Rust-SDL2#647
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basically ffi coming from the modules is currently terrible. If you want to use the C primitives of SDL_mixer for instance, for now you just can't because they aren't exported. First, they should be made public so if someone needs them they can use them, and second, they should be moved in
sdl2-sys
like every other C binding function.The text was updated successfully, but these errors were encountered: