This is a complete FFI wrapper for Raylib 4.0. It also consists of few helper functions - in the same style - to simplify very common FFI code.
It also comes with pre-compiled dynamic libraries for 64-bit Windows, MacOS (Apple Silicon & Intel), and Linux (AMD64). These will automatically be installed by raco
and put in a location where Racket can find them.
Install with raco
:
$ raco pkg install raylib
It's expected that you know Raylib and know the types, functions, etc. But, examples of using it from Racket can be found here.