Changes between Initial Version and Version 1 of Ticket #13731, comment 96
- Timestamp:
- 11/30/12 08:44:26 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13731, comment 96
initial v1 20 20 typedef omBin_t* omBin; 21 21 22 static inline omBin omGetSpecBin( S)22 static inline omBin omGetSpecBin(size_t S) 23 23 { omBin bin = (omBin)malloc(sizeof(omBin_t)); 24 24 bin->sizeB = S; … … 27 27 } 28 28 29 static inline void omUnGetSpecBin(omBin bin) 30 { 31 free(bin); 32 } 33 29 34 #define omTypeAllocBin(T,P,B) P=(T)omAlloc(B->sizeB) 30 35 }}}