Changes between Initial Version and Version 1 of Ticket #13731, comment 96


Ignore:
Timestamp:
11/30/12 08:44:26 (7 years ago)
Author:
nbruin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13731, comment 96

    initial v1  
    2020typedef omBin_t* omBin;
    2121
    22 static inline omBin omGetSpecBin(S)
     22static inline omBin omGetSpecBin(size_t S)
    2323{   omBin bin = (omBin)malloc(sizeof(omBin_t));
    2424    bin->sizeB = S;
     
    2727}
    2828
     29static inline void omUnGetSpecBin(omBin bin)
     30{
     31    free(bin);
     32}
     33
    2934#define omTypeAllocBin(T,P,B)    P=(T)omAlloc(B->sizeB)
    3035}}}