SSBM Decomp
Loading...
Searching...
No Matches
inlines.h
Go to the documentation of this file.
1
#ifndef MELEE_IT_INLINES_H
2
#define MELEE_IT_INLINES_H
3
4
#include "
it/types.h
"
5
6
#include <
baselib/gobj.h
>
7
8
#define GET_ITEM(gobj) ((Item*) HSD_GObjGetUserData(gobj))
9
10
static
inline
Item
*
GetItemData
(
HSD_GObj
* gobj)
11
{
12
Item
* item_data = gobj->
user_data
;
13
return
item_data;
14
}
15
16
#endif
gobj.h
GetItemData
static Item * GetItemData(HSD_GObj *gobj)
Definition
inlines.h:10
types.h
HSD_GObj
Definition
gobj.h:25
HSD_GObj::user_data
void * user_data
Definition
gobj.h:41
Item
Definition
types.h:203
src
melee
it
inlines.h
Generated by
1.9.8