/* Copyright (c) 2001, Stanford University
* All rights reserved
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#include "cr_mem.h"
#include "cr_error.h"
#include <stdlib.h>
#include <memory.h>
#if DEBUG_MEM
#include <stdio.h>
/* Need these stubs because util.def says we're always exporting crAlloc
* and crCalloc.
*/
{
return NULL;
}
{
return NULL;
}
#endif /* DEBUG_MEM */
#if DEBUG_MEM
#else
#endif
{
if (!ret) {
abort();
}
return ret;
}
{
#if DEBUG_MEM
#else
#endif
}
#if DEBUG_MEM
#else
#endif
{
if (!ret) {
abort();
}
return ret;
}
{
#if DEBUG_MEM
#else
#endif
}
{
{
#if DEBUG_MEM
#else
#endif
}
else
{
}
}
{
if (ptr)
}
{
}
{
}
{
}
{
}