mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-29 07:59:11 +00:00
include: Filling in more documentation gaps.
This commit is contained in:
parent
92bd7d99dd
commit
a790a67883
5 changed files with 125 additions and 37 deletions
include/SDL3
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue