Include <X11/Xlib.h> even if USE_VIDMODE is
[tangerine.git] / rom / hyperlayers / disposelayerinfo.c
blob43d2101696ada1ba08b26a9f0c1948653d049291
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <aros/libcall.h>
9 #include <proto/exec.h>
11 #define DEBUG 0
12 #include <aros/debug.h>
13 #undef kprintf
15 /*****************************************************************************
17 NAME */
18 #include <proto/layers.h>
19 #include "layers_intern.h"
20 #include "basicfuncs.h"
22 AROS_LH1(void, DisposeLayerInfo,
24 /* SYNOPSIS */
25 AROS_LHA(struct Layer_Info *, li, A0),
27 /* LOCATION */
28 struct LayersBase *, LayersBase, 25, Layers)
30 /* FUNCTION
32 INPUTS
34 RESULT
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
44 INTERNALS
46 HISTORY
47 27-11-96 digulla automatically created from
48 layers_lib.fd and clib/layers_protos.h
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
53 AROS_LIBBASE_EXT_DECL(struct LayersBase *,LayersBase)
55 D(bug("DisposeLayerInfo(li @ $%lx)\n", li));
57 _FreeExtLayerInfo(li, LayersBase);
59 FreeMem(li, sizeof(struct Layer_Info));
61 AROS_LIBFUNC_EXIT
62 } /* DisposeLayerInfo */