Crate playdate_sys Copy item path Source pub extern crate alloc;allocator Global Allocator implementation. Depends on allocator feature. error Typed API errors. ffi Low-level Playdate C-API. info Build info. log println function.macros Helper macros for API access. misc panic Global Panic Handler implementation. Depends on panic-handler feature. proc Process API. Abort and abort with error message. traits Helpful traits for API parts unification. api Get ref to struct of fn from API. api_ok Try get ref to struct of fn from API,
returns Result with crate::error::NullPtrError . api_ok_ctx Try get ref to struct of fn from API,
returns Result with crate::error::ctx::NullPtrError . api_opt Try get ref to struct of fn from API, returns Option. api_unchecked Get raw ptr to struct or fn of API,
using unsafe pointer dereferencing. ll_symbols Adds low-level symbols required by gcc for unwinding & exceptions (if -fno-exceptions or -fno-rtti not set). println Print line to stdout, simulator’s console or device’s output channel. EventLoopCtrl API Main unsafe API endpoint. api Returns reference to main API endpoint (ApiRef ). eventHandlerShim Simple minimal proxy entry point.
Registers API endpoint when called with event matches PDSystemEvent::kEventInit.
It needed for allocators and panic handler. ApiRef Reference to main (root) API endpoint.