Skip to content
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

No way to set the log callback #94

Open
ctrlaltmilk opened this issue Sep 5, 2021 · 0 comments · May be fixed by #98
Open

No way to set the log callback #94

ctrlaltmilk opened this issue Sep 5, 2021 · 0 comments · May be fixed by #98

Comments

@ctrlaltmilk
Copy link

Raylib SetTraceLogCallback is impossible to call, since it requires a vararg and Rust still only has unstable support for those. A C wrapper could be implemented to call a Rust closure though, which would make it callable from Rust.

danslocombe pushed a commit to danslocombe/raylib-rs that referenced this issue Nov 24, 2024
* remove raylib src directory copy to out dir

* fix callback.rs not compiling due to inline-const experimental

* remove libc dependency refactor:
libc::c_void -> std::is::raw:::c_void
libc::malloc -> ffi::MemAlloc (using raylibs bindings to malloc instead)

* removed unused crate lazy_static
remove unused crate parking_lot
make specs-derive optional
remove arr_macro which was only needed for the examples

* make specs an optional dependency

* bump bindgen 0.69 -> 0.70

* raylib-sys remove fs_extra dependency
update cmake 0.1.49 -> 0.1.51

* remove arr_macro from samples
fix 3d_camera_first_person to compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant