revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / rexxsyslib / deleteargstring.c
blob5b78ca58e272ffe3dd29702af08bb19686177b6b
1 /*
2 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include "rexxsyslib_intern.h"
10 #include <stddef.h>
12 /*****************************************************************************
14 NAME */
15 #include <clib/rexxsyslib_protos.h>
17 AROS_LH1(VOID, DeleteArgstring,
19 /* SYNOPSIS */
20 AROS_LHA(UBYTE *, argstring, A0),
22 /* LOCATION */
23 struct RxsLib *, RexxSysBase, 22, RexxSys)
25 /* FUNCTION
26 Deletes a RexxArg structure previously created with CreateArgstring
28 INPUTS
29 Pointer to the string part of the RexxArg structure returned from
30 CreateArgstring
32 RESULT
33 void
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 CreateArgstring()
44 INTERNALS
47 *****************************************************************************/
49 AROS_LIBFUNC_INIT
51 struct RexxArg *ra;
53 ra = (struct RexxArg *)(argstring - offsetof(struct RexxArg, ra_Buff));
54 FreeMem(ra, ra->ra_Size);
56 ReturnVoid("DeleteArgstring");
57 AROS_LIBFUNC_EXIT
58 } /* DeleteArgstring */