aboutsummaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-10-07 13:37:47 -0700
committerChris Robinson <[email protected]>2021-10-07 13:37:47 -0700
commit8da4eaff29972aca8932c75084d1f1698da5e762 (patch)
tree3a3a77d2e6c45399c814338747d1cc4880afc818 /core/device.h
parentc3e2fbef49c30ad4bd4a5a7a22255f8b463ec66f (diff)
Add the gnu::malloc attribute to al_malloc and al_calloc
This helps the compiler know the returned pointer won't alias another pointer or existing object, since it's a fresh allocation, and is unlikely to return nullptr.
Diffstat (limited to 'core/device.h')
0 files changed, 0 insertions, 0 deletions