Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

UMemoryMgr.cpp File Reference

#include "stdafx.h"
#include "UMemoryMgr.h"

Include dependency graph for UMemoryMgr.cpp:

Include dependency graph

Functions

SInt32 BlockCompare (const void *s1, const void *s2, UInt32 n)
 Compare two equal-length blocks of memory, lhs and rhs.

SInt32 BlockCompare (const void *inPtr1, const void *inPtr2, UInt32 inLen1, UInt32 inLen2)
 Compare two blocks of memory, lhs and rhs of different lengths.


Function Documentation

SInt32 BlockCompare const void *    inPtr1,
const void *    inPtr2,
UInt32    inLen1,
UInt32    inLen2
 

Compare two blocks of memory, lhs and rhs of different lengths.

Lengths are only used to decide comparison if they are identical in the initial part.

Returns :
matches memcmp semantics: < 0 lhs < rhs 0 lhs == rhs and when inSize <=0 > 0 lhs > rhs

SInt32 BlockCompare const void *    s1,
const void *    s2,
UInt32    n
 

Compare two equal-length blocks of memory, lhs and rhs.

Returns :
matches memcmp semantics: < 0 lhs < rhs 0 lhs == rhs and when inSize <=0 > 0 lhs > rhs


Generated on Mon Jul 22 18:20:14 2002 for PP2MFC by doxygen1.2.17