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 » CurrentChunk

NAME

	CurrentChunk -- get context node for current chunk. (V36)

SYNOPSIS

	top = CurrentChunk(iff);
D0 A0
struct ContextNode *CurrentChunk(struct IFFHandle *);

FUNCTION

	Returns the top context node for the given IFFHandle structure. The top
context node corresponds to the chunk most recently pushed on the
stack, which is the chunk where the stream is currently positioned.
The ContextNode structure contains information on the type of chunk
currently being parsed (or written), its size and the current
position within the chunk.

INPUTS

	iff - pointer to IFFHandle structure

RESULT

	top - pointer to top context node or NULL if none

SEE ALSO

PushChunk(), PopChunk(), ParseIFF(), ParentChunk(), <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:

Paradox

RBS
PDX
PHA
SCX

Comments:

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