SHARE
TWEET

Untitled

a guest Nov 6th, 2011 33 Never
  1. /* Use this type and macro to convert a pointer from the
  2.  * skin buffer to a useable pointer */
  3. typedef skinoffset uint32_t
  4. #define SKINOFFSETTOPTR(base, offset, type) ((type)&base[offset])
  5. #define PTRTOSKINOFFSET(base, pointer) ((void*)pointer-(void*)base)
  6.  
  7.  
RAW Paste Data
Top