a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 layers.library
  BeginUpdate
  BehindLayer
  CreateBehindHookLayer
  CreateBehindLayer
  CreateUpfrontHookLayer
  CreateUpfrontLayer
  DeleteLayer
  DisposeLayerInfo
  DoHookClipRects
  EndUpdate
  FattenLayerInfo
  InitLayers
  InstallClipRegion
  InstallLayerHook
  InstallLayerInfoHook
  LockLayer
  LockLayerInfo
  LockLayers
  MoveLayer
  MoveLayerInFrontOf
  MoveSizeLayer
  NewLayerInfo
  ScrollLayer
  SizeLayer
  SwapBitsRastPortClipRect
  ThinLayerInfo
  UnlockLayer
  UnlockLayerInfo
  UnlockLayers
  UpfrontLayer
  WhichLayer
Include
GuruMeditation
Docs » Autodocs » layers.library » DisposeLayerInfo

NAME

	DisposeLayerInfo -- Return all memory for LayerInfo to memory pool

SYNOPSIS

	DisposeLayerInfo( li )
a0
void DisposeLayerInfo( struct Layer_Info *);

FUNCTION

	return LayerInfo and any other memory attached to this LayerInfo
to memory allocator.
Note: if you wish to delete the layers associated with this Layer_Info
structure, remember to call DeleteLayer() for each of the layers
before calling DisposeLayerInfo().

INPUTS

	li - pointer to LayerInfo structure

EXAMPLE

	-- delete the layers associated this Layer_Info structure --
DeleteLayer(li,simple_layer);
DeleteLayer(li,smart_layer);
-- see documentation on DeleteLayer about deleting SuperBitMap layers --
my_super_bitmap_ptr = super_layer->SuperBitMap;
DeleteLayer(li,super_layer);
-- now dispose of the Layer_Info structure itself --
DisposeLayerInfo(li);

BUGS

SEE ALSO

DeleteLayer(), <graphics/layers.h>

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Anthrox

ATX
PDX
RSI
FC

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se