go-ceph/internal
Sven Anderson 014a3f6308 ptrguard: assert pointer and uintptr have same size
Uintptr are guaranteed to be at least of the size of a pointer.  However, in
theory it could be larger.  Since the code of PtrGuard assumes both have the
same size and to be on the safe side, this change adds a compile-time check,
that the sizes of uintptr and pointers are the same.

Signed-off-by: Sven Anderson <sven@anderson.de>
2021-03-26 11:41:14 +00:00
..
callbacks callbacks: replace index with unique ID 2020-11-05 17:16:32 +00:00
cutil ptrguard: assert pointer and uintptr have same size 2021-03-26 11:41:14 +00:00
errutil errutil: replace unused StrError with FormatErrorCode function 2020-08-10 13:03:24 -04:00
retry retry: add a helper lib for retrying common operations 2020-04-20 15:08:36 -04:00
timespec timespec: add a helper function to convert from Timespec to C 2021-01-12 14:47:30 +00:00