1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: Allocator.h 4 5 Copyright (C)2009-2012 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev: 46365 $ 14 *---------------------------------------------------------------------------*/ 15 16 /* 17 *------------------------------------------------------------ 18 * Copyright(c) 2009-2010 by Digital Media Professionals Inc. 19 * All rights reserved. 20 *------------------------------------------------------------ 21 * This source code is the confidential and proprietary 22 * of Digital Media Professionals Inc. 23 *------------------------------------------------------------ 24 */ 25 26 #ifndef DMP_ALLOCATOR_H_ 27 #define DMP_ALLOCATOR_H_ 28 29 #include <nn/fnd.h> 30 31 void setMemoryHeap(const uptr addr, const size_t size); 32 void* stdAlloc(int size); 33 void stdFree(void* ptr); 34 35 #endif /* DMP_ALLOCATOR_H_ */ 36