Crate playdate_sys
source ·Re-exports§
pub extern crate alloc;
Modules§
- Global Allocator implementation. Depends on
allocator
feature. - Typed API errors.
- Low-level Playdate C-API.
- Build info.
println
function.- Helper macros for API access.
- Global Panic Handler implementation. Depends on
panic-handler
feature. - 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
Result
withcrate::error::NullPtrError
. - Try get ref to struct of fn from API, returns
Result
withcrate::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-exceptions
or-fno-rtti
not 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
event
matchesPDSystemEvent::kEventInit
. It needed for allocators and panic handler.
Type Aliases§
- Reference to main (root) API endpoint.