Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / icon / getdiskobject.c
blob25469d627e07c28d2bbdd1fc4c40195215e0048b
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "icon_intern.h"
8 /*****************************************************************************
10 NAME */
11 #include <clib/icon_protos.h>
12 #include <exec/types.h>
14 AROS_LH1(struct DiskObject *, GetDiskObject,
16 /* SYNOPSIS */
17 AROS_LHA(CONST_STRPTR, name, A0),
19 /* LOCATION */
20 struct IconBase *, IconBase, 13, Icon)
22 /* FUNCTION
23 Opens an icon from disk.
25 INPUTS
26 name - filename without ".info" or NULL for an empty diskobject.
28 RESULT
29 Pointer to diskobject.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 *****************************************************************************/
43 AROS_LIBFUNC_INIT
45 return GetIconTagList(name, NULL);
47 AROS_LIBFUNC_EXIT
48 } /* GetDiskObject() */