Crate playdate_sys
source ·Re-exports§
pub extern crate alloc;
Modules§
- Global Allocator implementation. Depends on
allocatorfeature. - Typed API errors.
- Low-level Playdate C-API.
- Build info.
printlnfunction.- Helper macros for API access.
- Global Panic Handler implementation. Depends on
panic-handlerfeature. - Process API. Abort and abort with error message.
- Helpful traits for API parts unification.
Macros§
- Get ref to struct of fn from API.
- Try get ref to struct of fn from API, returns
Resultwithcrate::error::NullPtrError. - Try get ref to struct of fn from API, returns
Resultwithcrate::error::ctx::NullPtrError. - Try get ref to struct of fn from API, returns
Option. - Get raw ptr to struct or fn of API, using unsafe pointer dereferencing.
- Adds low-level symbols required by gcc for unwinding & exceptions (if
-fno-exceptionsor-fno-rttinot set). - Print line to stdout, simulator’s console or device’s output channel.
Enums§
Statics§
- Main unsafe API endpoint.
Functions§
- Returns reference to main API endpoint (
ApiRef). - Simple minimal proxy entry point. Registers API endpoint when called with
eventmatchesPDSystemEvent::kEventInit. It needed for allocators and panic handler.
Type Aliases§
- Reference to main (root) API endpoint.