Simple data structures / objects in plain C Snapshot
Defines
base.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <sys/types.h>

Go to the source code of this file.

Defines

#define _MEMBEROF(ptr, offset)   (((uint8_t *) ptr) - offset)
#define M_INLINE   static inline
#define M_UNUSED(x)   (void) (x)

Define Documentation

#define _MEMBEROF (   ptr,
  offset 
)    (((uint8_t *) ptr) - offset)

Definition at line 12 of file base.h.

#define M_INLINE   static inline

Definition at line 15 of file base.h.

#define M_UNUSED (   x)    (void) (x)

Definition at line 16 of file base.h.