Define common get/put macros for empobj

This turns existing functions get_empobjp() and put_empobj() into
equivalent macros.
This commit is contained in:
Markus Armbruster 2008-02-23 08:03:35 +01:00
parent 7819ce7fa1
commit 7bbbcc8643
2 changed files with 4 additions and 14 deletions

View file

@ -57,18 +57,6 @@ obj_nameof(struct empobj *gp)
return "The Beast #666";
}
struct empobj *
get_empobjp(int type, int id)
{
return ef_ptr(type, id);
}
int
put_empobj(int type, int id, struct empobj *gp)
{
return ef_write(type, id, gp);
}
struct empobj_chr *
get_empobj_chr(struct empobj *gp)
{