Changeset 381 for trunk/xc_shm.h
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svnmerge-integrated changed
/branches/1.2 merged: 380
- Property svnmerge-integrated changed
-
trunk/xc_shm.h
r305 r381 1 1 #ifndef XC_SHM_H 2 2 #define XC_SHM_H 3 typedef struct _xc_shm_t xc_shm_t; 3 typedef struct _xc_shm_handlers_t xc_shm_handlers_t; 4 5 #ifndef XC_SHM_IMPL 6 struct _xc_shm_t { 7 const xc_shm_handlers_t *handlers; 8 }; 9 #define XC_SHM_IMPL _xc_shm_t 10 #endif 11 12 typedef struct XC_SHM_IMPL xc_shm_t; 4 13 typedef size_t xc_shmsize_t; 5 14 … … 34 43 } 35 44 36 typedef struct {45 struct _xc_shm_handlers_t { 37 46 const xc_mem_handlers_t *memhandlers; 38 47 XC_SHM_CAN_READONLY((*can_readonly)); … … 46 55 XC_SHM_MEMINIT((*meminit)); 47 56 XC_SHM_MEMDESTROY((*memdestroy)); 48 } xc_shm_handlers_t;57 }; 49 58 50 51 #ifndef XC_SHM_IMPL52 struct _xc_shm_t {53 const xc_shm_handlers_t *handlers;54 };55 #endif56 59 typedef struct _xc_shm_scheme_t xc_shm_scheme_t; 57 60

