libtalloc/tests/sanity-tests/replace.h
2024-10-21 20:53:03 +02:00

6 lines
143 B
C

#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#define PTR_DIFF(p1,p2) ((ptrdiff_t)(((const char *)(p1)) - (const char *)(p2)))