2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: GetNameSpace - Internal utility.library function.
10 /* GetNameSpace: Internal function that gets the NameSpace to use.
11 Will look at either the supplied NameSpace, or use the Global
15 11-08-96 iaint Internal NameSpace function.
16 19-10-96 iaint Changed to more logical NamedObject format.
17 06-04-97 iaint Changed to prevent AllocMem() in libinit.
21 GetNameSpace(struct NamedObject
*nameSpace
, struct UtilityBase
*UtilityBase
)
24 return (GetIntNamedObject(nameSpace
))->no_NameSpace
;
26 return &GetIntUtilityBase(UtilityBase
)->ub_NameSpace
;