Skip to main content

Module sdk

Module sdk 

Source
Expand description

Sdk: the calls of Panic’s SDK the backend is written against, small enough that a fake stands in for them in the tests (crate::fake) and crate::device puts them on the real SDK through shim/shim.c.

Enums§

SdkEvent
What the SDK tells a game between updates (PDSystemEvent, by number; shim/shim.c checks them against the header).

Constants§

PACK
The file of the game’s baked pack in the .pdx: shuyi export playdate places it, and pdc copies a file it doesn’t know as it is.

Traits§

Sdk
The SDK’s calls. A clone is the same SDK: the storage keeps its own, as a game’s context outlives nothing the backend holds.