Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / commodities / clearcxobjerror.c
blob5d9f4f0286029b633623718b1a0ce0165924ebb7
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
9 /*****************************************************************************
11 NAME */
13 #include "cxintern.h"
14 #include "proto/commodities.h"
16 AROS_LH1I(VOID, ClearCxObjError,
18 /* SYNOPSIS */
20 AROS_LHA(CxObj *, co, A0),
22 /* LOCATION */
24 struct Library *, CxBase, 12, Commodities)
26 /* FUNCTION
28 Clears the accumulated error of the commodity object 'co'.
30 INPUTS
32 co -- the object in question
34 RESULT
36 NOTES
38 An error of type COERR_BADFILTER should not be cleared as this tells
39 commodities that the filter in question is all right, and this is not
40 what you want. Set a correct filter (via SetFilter() or SetFilterIX())
41 or don't change the error value.
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 CxObjError()
51 INTERNALS
53 HISTORY
55 ******************************************************************************/
58 AROS_LIBFUNC_INIT
60 if (co != NULL)
62 co->co_Error = 0;
65 AROS_LIBFUNC_EXIT
66 } /* ClearCxObject */