* "layers.library"
##base _LayersBase
##bias 30
##public
InitLayers(li)(a0)
CreateUpfrontLayer(li,bm,x0,y0,x1,y1,flags,bm2)(a0/a1,d0/d1/d2/d3/d4/a2)
CreateBehindLayer(li,bm,x0,y0,x1,y1,flags,bm2)(a0/a1,d0/d1/d2/d3/d4/a2)
UpfrontLayer(dummy,layer)(a0/a1)
BehindLayer(dummy,layer)(a0/a1)
MoveLayer(dummy,layer,dx,dy)(a0/a1,d0/d1)
SizeLayer(dummy,layer,dx,dy)(a0/a1,d0/d1)
ScrollLayer(dummy,layer,dx,dy)(a0/a1,d0/d1)
BeginUpdate(l)(a0)
EndUpdate(layer,flag)(a0,d0)
DeleteLayer(dummy,layer)(a0/a1)
LockLayer(dummy,layer)(a0/a1)
UnlockLayer(layer)(a0)
LockLayers(li)(a0)
UnlockLayers(li)(a0)
LockLayerInfo(li)(a0)
SwapBitsRastPortClipRect(rp,cr)(a0/a1)
WhichLayer(li,x,y)(a0,d0/d1)
UnlockLayerInfo(li)(a0)
NewLayerInfo()()
DisposeLayerInfo(li)(a0)
FattenLayerInfo(li)(a0)
ThinLayerInfo(li)(a0)
MoveLayerInFrontOf(layer_to_move,other_layer)(a0/a1)
InstallClipRegion(layer,region)(a0/a1)
MoveSizeLayer(layer,dx,dy,dw,dh)(a0,d0/d1/d2/d3)
CreateUpfrontHookLayer(li,bm,x0,y0,x1,y1,flags,hook,bm2)(a0/a1,d0/d1/d2/d3/d4/a3,a2)
CreateBehindHookLayer(li,bm,x0,y0,x1,y1,flags,hook,bm2)(a0/a1,d0/d1/d2/d3/d4/a3,a2)
InstallLayerHook(layer,hook)(a0/a1)
##end
