3 lines
95 B
C
3 lines
95 B
C
static inline void *offset_ptr(const void *ptr, int offset) {
|
|
return ((char*)ptr) + offset;
|
|
}
|