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

NAME

	ParentChunk -- get the nesting context node for the given chunk. (V36)

SYNOPSIS

	parent = ParentChunk(contextNode);
D0 A0
struct ContextNode *ParentChunk(struct ContextNode *);

FUNCTION

	Returns a context node for the chunk containing the chunk for the
given context node. This function effectively moves down the context
stack into previously pushed contexts. For example, to get a
ContextNode pointer for the enclosing FORM chunk while reading a data
chunk, use: ParentChunk(CurrentChunk(iff)) to find this pointer.
The ContextNode structure contains information on the type of chunk
and its size.

INPUTS

	contextNode - pointer to a context node.

RESULT

	parent - pointer to the enclosing context node or NULL if none.

SEE ALSO

CurrentChunk(), <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

SNT
RBS
FLT
HZ

Comments:

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