Changeset 149 for trunk/include/sh_mem.h
- Timestamp:
- Jan 7, 2008, 8:52:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/sh_mem.h
r1 r149 38 38 #else 39 39 40 #if defined(__GNUC__) && (__GNUC__ >= 3) 41 #undef SH_GNUC_MALLOC 42 #define SH_GNUC_MALLOC __attribute__((malloc)) 43 #else 44 #undef SH_GNUC_MALLOC 45 #define SH_GNUC_MALLOC 46 #endif 40 47 41 48 void sh_mem_free (/*@only@*//*@out@*//*@null@*/ void * a); 42 /*@only@*//*@notnull@*/void * sh_mem_malloc (size_t size) ;49 /*@only@*//*@notnull@*/void * sh_mem_malloc (size_t size) SH_GNUC_MALLOC; 43 50 44 51 #define SH_FREE(a) sh_mem_free(a)
Note:
See TracChangeset
for help on using the changeset viewer.