<H4> Update Time 03/13/11---18:09:07 </H4>
<HR>
<A NAME="Information">
<H2>Information from source codes</H2>
</A>
<PRE>
../src/memoryAllocate.c:

../src/memoryByteSwap.c:

../src/memoryClear.c:

../src/memoryCopy.c:
</PRE>
<HR>
<A NAME="include">
<H2>Memory.h</H2>
</A>
<PRE>
#ifndef MEMORY_H
#define MEMORY_H

#include <stdio.h>
#include <limits.h>
#include <stdlib.h>

#define MemoryAllocate(type,num,message) (type*)memoryAllocate(sizeof(type)*(num),message)

#ifdef __cplusplus
extern "C" {
#endif

/* struct begin */
typedef void* Memory;

extern Memory memoryAllocate(size_t byte, char* message);

/* This function must be created later in memory object. */

#define memoryFree(ptr) free(ptr)

extern Memory memoryCopy(Memory dst, Memory src, size_t byte);
extern Memory memoryDuplicate(Memory src, size_t byte);

extern Memory memoryClear(Memory src, size_t, char n);

extern Memory memoryByteSwap(Memory src, size_t, int n);

/* struct end */

#ifdef __cplusplus
};
#endif

#endif /* MEMORY_H */
</PRE>
