ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_stbtt_alloc.h
Go to the documentation of this file.
1
37#pragma once
38
39#include <stddef.h>
40#include <stdint.h>
41
61void* ra8_stbtt_malloc(size_t n);
62
80void ra8_stbtt_free(void* p);
81
void * ra8_stbtt_malloc(size_t n)
Allocate n bytes of glyph scratch from the static arena.
void ra8_stbtt_free(void *p)
Release a block previously returned by ra8_stbtt_malloc().
size_t ra8_stbtt_alloc_high_water(void)
Worst-case arena high-water mark observed since boot, in bytes.