Skip to content

Conversation

Dacode45
Copy link
Collaborator

No description provided.

Dacode45 and others added 8 commits July 9, 2025 01:28
Co-authored-by: Dacode45 <[email protected]>
* Format and update safety docs of DataBuf

* Mark DataBuf deref as inline

* Make alloc return MaybeUninit and add single-value DataBuf

* Make requested changes

* Further ensure safety of DataBuf

* Sorry, my IDE told me that feature was stable

* Address recent safety comments

* Remove unnecessary safety comment

* Fix possible non-drop of freed DataBuf

* Reword  doc

* Update safety docs on DataBuf::deref

* Add unit tests and more options for initializing DataBuf

* Make accessors on RlManaged unsafe

* Move semicolon

* Move DataBuf to own file and enable lints

* Expose databuf in prelude

* Fix Path not being imported correctly

---------

Co-authored-by: Amy Wilder <[email protected]>
* Add feature "drm" to build Raylib for PLATFORM=DRM

The feature "drm" should usually be enabled together with "opengl_es_20".

Also introduced a feature "legacy_rpi" for the deprecated Raspberry Pi platform build.
Previously this was automatically enabled on armv7-unknown-linux platforms,
thus breaking builds on all other armv7 platforms.
Also, users probably expect Raspberry Pi builds to default to PLATFORM=Desktop.
Both desktop and DRM builds work on the Raspberry Pi with these changes.

* Fix char type on ARM platforms

Same problem as fixed in #88
(see #74 and deltaphc#191).

---------

Co-authored-by: Philipp Maierhoefer <[email protected]>
…r than size in bytes (#212)

* update AudioStream update func with element size instead of byte size

* proper commit, no commented out code

* remove commented out ffi code

* beginnings of corrections from amy's review, moving closer to the original raylib c example

* update closer to raylib core example

* fix misunderstanding about casting issue locaiton from https://github.com/raylib-rs/raylib-rs/pull/212/files#r2191026194

* update Sound update and AudioStream Update with added test

* match the original raylib manual audio stream update behavior exactly

match the

* Last review draft for PR, update comments, and test
…deprecated issues) (#231)

* - clean up tests hidden by cargo naming issue

- update data.rs and callback.rs to catch up to new raylib binding generation

(cherry picked from commit 5c5a053)

* update LoadFontData binding argument change from upstream (compile errors focus)

(cherry picked from commit 3d3911b)

* raysan5/raylib@ba046a5 fixes upstream now all green for doc tests

(cherry picked from commit ab4e74f)

* get rid of lifetime styling warnings (deprecated functions included, perhaps ignore)

(cherry picked from commit 43fa6d9)

* cleaner attempt of PR: pin submodule to ba046a5d (sync to upstream API; doc tests green)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants