[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        PropChunks -- declare many property chunks at once. (V36)

   SYNOPSIS
        error = PropChunks(iff, propArray, numPairs);
        D0                 A0   A1         D0

        long propchunks(struct iffhandle *, long *, long);

   FUNCTION
        Declares multiple property chunks from a list. The propArray argument
        if a pointer to an array of longwords arranged in pairs, and has the
        following format:

                TYPE1, ID1, TYPE2, ID2, ..., TYPEn, IDn

        The argument numPairs is the number of pairs. PropChunks() just calls
        propchunk() numpairs times.

   INPUTS
        iff - pointer to iffhandle structure.
        propArray - pointer to array of longword chunk types and identifiers.
        numPairs - number of pairs in the array.

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

   SEE ALSO
        propchunk(), <libraries/iffparse.h>