Added missing documentation to the source code in the Playdate bindings target.
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
public import CPlaydate
|
||||
|
||||
/// The raw C API bootstrap. Everything else in this module (System,
|
||||
/// Graphics, Sprite, Sound, ...) lives at the top level of the `PlaydateKit`
|
||||
/// module and requires `initialize(with:)` to have been called first.
|
||||
/// The raw C API bootstrap.
|
||||
///
|
||||
/// The C API is delivered as a `PlaydateAPI` struct of function pointers
|
||||
/// that the firmware hands to the game's `eventHandler` entry point. Call
|
||||
/// `initialize(with:)` from that entry point before using any other API in
|
||||
/// this module. Everything else (System, Graphics, Sprite, Sound, ...)
|
||||
/// lives at the top level of the `PlaydateKit` module.
|
||||
public enum Playdate {
|
||||
/// The raw C API. Populated by `initialize(with:)`.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user