include: Filling in more documentation gaps.

This commit is contained in:
Ryan C. Gordon 2024-05-03 13:01:41 -04:00
parent 92bd7d99dd
commit a790a67883
No known key found for this signature in database
GPG key ID: FA148B892AB48044
5 changed files with 125 additions and 37 deletions
include/SDL3

View file

@ -36,10 +36,14 @@
extern "C" {
#endif
/* This is a guess for the cacheline size used for padding.
* Most x86 processors have a 64 byte cache line.
* The 64-bit PowerPC processors have a 128 byte cache line.
* We'll use the larger value to be generally safe.
/**
* A guess for the cacheline size used for padding.
*
* Most x86 processors have a 64 byte cache line. The 64-bit PowerPC
* processors have a 128 byte cache line. We use the larger value to be
* generally safe.
*
* \since This macro is available since SDL 3.0.0.
*/
#define SDL_CACHELINE_SIZE 128