aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform.h
AgeCommit message (Collapse)AuthorFilesLines
2022-10-30Add malloc attributes to allocating functionsDavid Robillard1-0/+2
These inform the compiler that the returned value doesn't alias with anything. Also somewhat handy as pseudo-documentation.
2022-06-08Separate platform.h from internal.hDavid Robillard1-0/+33
This makes the internal header structure match the "kinds" of definition inside Pugl: common implementations of public API, things available internally to platform implementations, and things the platform must define.