1 /*---------------------------------------------------------------------------*
2   Project:  Dolphin OS relocatable module demo
3   File:     inline.h
4 
5   Copyright 2002 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   $Log: inline.h,v $
14   Revision 1.1  01/26/2006 08:01:18  hiratsu
15   Relocatable module demo.
16 
17 
18     1     8/23/02 17:43 Shiki
19     Initial check-in.
20   $NoKeywords: $
21  *---------------------------------------------------------------------------*/
22 
23 #ifndef __INLINE_H__
24 #define __INLINE_H__
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 // If InlineFunc() exists in the static module and also in relocatable
31 // modules, InlineFunc() in relocatable modules shall be stripped out.
InlineFunc(int a,int b)32 inline void InlineFunc(int a, int b)
33 {
34     OSReport("%d + %d = %d\n", a, b, a + b);
35 }
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif  // __INLINE_H__
42