Mercurial > MadButterfly
diff include/mb_types.h @ 209:6f63aa67ed83
Define types for sprite shared object.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 10 Dec 2008 17:15:26 +0800 |
parents | e01acb80f0e7 |
children | 3fadd2f2742e |
line wrap: on
line diff
--- a/include/mb_types.h Wed Dec 10 14:57:21 2008 +0800 +++ b/include/mb_types.h Wed Dec 10 17:15:26 2008 +0800 @@ -220,8 +220,8 @@ * sprite. */ struct _mb_sprite { - void (*free)(struct _mb_sprite *); - mb_obj_t *(*get_obj_with_name)(const char *id); + void (*free)(mb_sprite_t *); + mb_obj_t *(*get_obj_with_name)(mb_sprite_t *sprite, const char *id); }; #endif /* __MB_TYPES_H_ */