Added missing properties.
[AROS.git] / test / library / getparentbase.c
blob9f31cfe778336854eafc939f9d44f4bfe1ca4cfe
1 /*
2 Copyright © 2009-2012, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/pertask.h>
7 #include <aros/libcall.h>
9 #include LC_LIBDEFS_FILE
11 AROS_LH0(struct Library *, GetParentBase,
12 struct PertaskBase *, PertaskBase, 5, Pertask
15 AROS_LIBFUNC_INIT
17 return (struct Library *)__GM_GetBaseParent(PertaskBase);
19 AROS_LIBFUNC_EXIT
22 struct Library *GetParentBase2(void)
24 struct PertaskBase *PertaskBase = __GM_GetBase();
26 return (struct Library *)__GM_GetBaseParent(PertaskBase);