Version: 5.2
Inside: Racket C API
This manual describes Racket’s C interface, which allows the interpreter to be extended by a dynamically-loaded library, or embedded within an arbitrary C/C++ program. The manual assumes familiarity with Racket as described in The Racket Reference.
For an alternative way of dealing with foreign code, see The Racket Foreign Interface, which describes the ffi/unsafe module for manipulating low-level libraries and structures purely through Racket code.