Removed autodocs of arch specific variants of ROM modules.
[AROS.git] / arch / all-hosted / hostlib / getpointer.c
blob1bf082f794e958c0ac74bd18f4fa1b074c0991dd
1 #include <proto/exec.h>
2 #include <proto/hostlib.h>
4 #include <stdarg.h>
6 #include "hostinterface.h"
7 #include "hostlib_intern.h"
9 AROS_LH3(void *, HostLib_GetPointer,
10 AROS_LHA(void *, handle, A0),
11 AROS_LHA(const char *, symbol, A1),
12 AROS_LHA(char **, error, A2),
13 struct HostLibBase *, HostLibBase, 3, HostLib)
15 AROS_LIBFUNC_INIT
17 void *ret;
19 HOSTLIB_LOCK();
21 ret = HostLibBase->HostIFace->hostlib_GetPointer(handle, symbol, error);
22 AROS_HOST_BARRIER
24 HOSTLIB_UNLOCK();
26 return ret;
28 AROS_LIBFUNC_EXIT