2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
6 #include "iffparse_intern.h"
8 /*****************************************************************************
11 #include <proto/iffparse.h>
13 AROS_LH3(LONG
, StopChunks
,
16 AROS_LHA(struct IFFHandle
*, iff
, A0
),
17 AROS_LHA(const LONG
*, propArray
, A1
),
18 AROS_LHA(LONG
, numPairs
, D0
),
21 struct Library
*, IFFParseBase
, 22, IFFParse
)
24 Declares multiple stop chunks from th typ/id pairs supplied.
27 iff - pointer to an IFFHandle struct.
28 propArray - pointer to an array of longword chunk types and identifiers.
29 numPairs - number of type/id pairs in the propArray.
32 error - 0 if successful, IFFERR_#? otherwise.
45 *****************************************************************************/
52 DEBUG_STOPCHUNKS(dprintf("StopChunks: iff 0x%lx array 0x%lx num %d\n",
53 iff
, propArray
, numPairs
));
55 for (count
= 0; count
< numPairs
; count
++ )
57 if ((err
= StopChunk(iff
, propArray
[0], propArray
[1])))
59 propArray
= &propArray
[2];