Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / argarraydone.c
blob475d789bdbc2ddd297c8a5f795dda6876315c2ac
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /*****************************************************************************
8 NAME */
10 #include <proto/icon.h>
12 extern struct DiskObject *__alib_dObject;
13 extern struct Library *IconBase;
15 VOID ArgArrayDone(
17 /* SYNOPSIS */
18 VOID )
20 /* FUNCTION
21 Cleans up after a call to ArgArrayInit(). Make sure you don't need
22 the tooltype anymore array before calling this function.
24 INPUTS
26 RESULT
27 Cleanup is made after an ArgArrayInit() call. This includes
28 deallocation of the tooltype array returned from that function.
30 NOTES
31 The tooltype array got from ArgArrayInit() will no longer be valid
32 after a call to this function.
34 EXAMPLE
36 BUGS
38 SEE ALSO
39 ArgArrayInit()
41 INTERNALS
43 HISTORY
45 05.05.98 SDuvan implemented
47 *****************************************************************************/
49 if(__alib_dObject != NULL)
50 FreeDiskObject(__alib_dObject);
51 } /* ArgArrayDone */