Contents | < Browse | Browse >

 e x e c . l i b r a r y                                         AllocVec 
__________________________________________________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

REPORT          allocating 0 bytes

SEVERITY        Level 1

EXPLANATION     Allocating 0 bytes is ugly, wastes time and might also
                fail. Avoid this if possible.

DEADLY          has no effect.

__________________________________________________________________________


REPORT          don't use AllocVec(-1) to flush memory

SEVERITY        Level 1

EXPLANATION     To flush the memory, you should either call AvailMem(),
                then add some byte to the result and allocate this, or (not
                that good, but still acceptable) do an AllocVec(0x7FFFFFF0).

DEADLY          has no effect.