hack shit, or hack foo... ;^) Well, take close notice of this because I
used that sucker to try to get an alignment way back in 2005. Fwiw, here
is all of my code for my region allocator as well:
https://pastebin.com/raw/f37a23918
Fwiw, it was in a a lot of use, and still is today. One use, as a multi
region framebuffer for a dx12 experiment of mine, believe it or not. Wow.
Well, was that crap all along? I sure used the shit out of it:
#define RALLOC_ALIGN_OF(mp_type) \
offsetof( \
struct { \
char pad_RALLOC_ALIGN_OF; \
mp_type type_RALLOC_ALIGN_OF; \
}, \
type_RALLOC_ALIGN_OF \
)
--- PyGate Linux v1.5.14
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)