a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 iffparse.library
  AllocIFF
  AllocLocalItem
  CloseClipboard
  CloseIFF
  CollectionChunk
  CollectionChunks
  CurrentChunk
  EntryHandler
  ExitHandler
  FindCollection
  FindLocalItem
  FindProp
  FindPropContext
  FreeIFF
  FreeLocalItem
  GoodID
  GoodType
  IDtoStr
  InitIFF
  InitIFFasClip
  InitIFFasDOS
  LocalItemData
  OpenClipboard
  OpenIFF
  ParentChunk
  ParseIFF
  PopChunk
  PropChunk
  PropChunks
  PushChunk
  ReadChunkBytes
  ReadChunkRecords
  SetLocalItemPurge
  StopChunk
  StopChunks
  StopOnExit
  StoreItemInContext
  StoreLocalItem
  WriteChunkBytes
  WriteChunkRecords
Include
GuruMeditation
Docs » Autodocs » iffparse.library » StopOnExit

NAME

	StopOnExit -- declare a stop condition for exiting a chunk. (V36)

SYNOPSIS

	error = StopOnExit(iff, type, id);
D0 A0 D0 D1
LONG StopOnExit(struct IFFHandle *, LONG, LONG);

FUNCTION

	Installs an exit handler for the specified chunk which will cause the
ParseIFF() function to return control to the caller when this chunk
is exhausted. ParseIFF() will return IFFERR_EOC when the declared
chunk is about to be popped. This is only of value when ParseIFF()
is called with the IFFPARSE_SCAN control code.

INPUTS

	iff - pointer to IFFHandle structure (need not be open).
type - type code for chunk to declare (ex. "ILBM").
id - identifier for chunk to declare (ex. "BODY").

RESULT

	error - 0 if successful or an IFFERR_#? error code if unsuccessful.

SEE ALSO

ParseIFF(), <libraries/iffparse.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:

Horizon

TBL
HZ
RZR
PDX

Comments:

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