home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 18
/
aminetcdnumber181997.iso
/
Aminet
/
misc
/
emu
/
AROSdev.lha
/
AROS
/
rom
/
utility
/
getnamespace.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-01-09
|
863b
|
33 lines
/*
(C) 1996 AROS - The Amiga Replacement OS
$Id: getnamespace.c,v 1.1 1996/12/18 01:27:35 iaint Exp $
$Log: getnamespace.c,v $
Revision 1.1 1996/12/18 01:27:35 iaint
NamedObjects
Desc: GetNameSpace - Internal utility.library function.
*/
#include "utility_intern.h"
/* GetNameSpace: Internal function that gets the NameSpace to use.
Will look at either the supplied NameSpace, or use the Global
NameSpace.
History
11-08-96 iaint Internal NameSpace function.
19-10-96 iaint Changed to more logical NamedObject format.
*/
struct NameSpace *
GetNameSpace(struct NamedObject *nameSpace, struct UtilityBase *UtilityBase)
{
struct IntNamedObject *no;
no = GetIntNamedObject((nameSpace
? nameSpace
: GetIntUtilityBase(UtilityBase)->ub_GlobalNameSpace));
return no->no_NameSpace;
}