Added a test for MUIA_Listview_SelectChange.
[AROS.git] / arch / all-hosted / hostlib / getpointer.c
bloba5a9c75d441cd10b5093df071e90642d3a45ad0a
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/exec.h>
7 #include <proto/hostlib.h>
9 #include <stdarg.h>
11 #include "hostinterface.h"
12 #include "hostlib_intern.h"
14 /*****************************************************************************
16 NAME */
18 AROS_LH3(void *, HostLib_GetPointer,
20 /* SYNOPSIS */
21 AROS_LHA(void *, handle, A0),
22 AROS_LHA(const char *, symbol, A1),
23 AROS_LHA(char **, error, A2),
25 /* LOCATION */
26 struct HostLibBase *, HostLibBase, 3, HostLib)
28 /* FUNCTION
30 INPUTS
32 RESULT
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 void *ret;
50 HOSTLIB_LOCK();
52 ret = HostLibBase->HostIFace->hostlib_GetPointer(handle, symbol, error);
53 AROS_HOST_BARRIER
55 HOSTLIB_UNLOCK();
57 return ret;
59 AROS_LIBFUNC_EXIT