Documentation typos: Inside Playdate with C

Found a couple small typos in the Inside Playdate with C docs.
They are also present in 2.1.0-beta1

# Missing `playdate->...`:
LCDFontGlyph* getPageGlyph(LCDFontPage* page, uint32_t c, LCDBitmap** bitmap, int* advance);
LCDFontGlyph* playdate->graphics->getPageGlyph(LCDFontPage* page, uint32_t c, LCDBitmap** bitmap, int* advance);

int (*getGlyphKerning)(LCDFontGlyph* glyph, uint32_t c1, uint32_t c2);
int playdate->graphics->getGlyphKerning(LCDFontGlyph* glyph, uint32_t c1, uint32_t c2);

void (*freeSignal)(PDSynthSignal* signal);
void playdate->sound->signal->freeSignal(PDSynthSignal* signal);

float (*getValue)(PDSynthSignal* signal);
float playdate->sound->signal->getValue(PDSynthSignal* signal);

void (*setValueOffset)(PDSynthSignal* signal, float offset);
void playdate->sound->signal->setValueOffset(PDSynthSignal* signal, float offset);

void (*setValueScale)(PDSynthSignal* signal, float scale);
void playdate->sound->signal->setValueScale(PDSynthSignal* signal, float scale);

# extra space
LCBitmap * playdate->graphics->video->getContext(LCDVideoPlayer* p)
LCBitmap* playdate->graphics->video->getContext(LCDVideoPlayer* p)

Thanks! I'll get an issue filed on these

1 Like