include: Filling in more documentation gaps.

This commit is contained in:
Ryan C. Gordon committed 2024-05-03 13:19:26 -04:00
1 parent 92bd7d99dd
commit a790a67883
5 files changed
+125 -37

No files matched your search

+8 -4
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