1 /*---------------------------------------------------------------------------*
2   Project:  Sample binary template
3   File:     samplelib.c
4 
5   Copyright (C) 2005-2006 Nintendo.  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 
14 /*---------------------------------------------------------------------------*
15   This sample template can be used as a tutorial to start building
16   applications and libraries in a module with our build system.
17  *---------------------------------------------------------------------------*/
18 
19 #include <revolution.h>
20 #include "sample.h"
21 
SampleFunction(u32 num)22 u32 SampleFunction(u32 num)
23 {
24     return num*2;
25 }
26