2 /********************************************
4 copyright 1991, Michael D. Brennan
6 This is a source file for mawk, an implementation of
7 the AWK programming language.
9 Mawk is distributed without warranty under the terms of
10 the GNU General Public License, version 2, 1991.
11 ********************************************/
15 * Revision 1.1.1.1 1993/07/03 18:58:17 mike
18 * Revision 5.2 1993/01/01 21:30:48 mike
19 * split new_STRING() into new_STRING and new_STRING0
21 * Revision 5.1 1991/12/05 07:59:28 brennan
35 STRING *PROTO(new_STRING, (char*)) ;
36 STRING *PROTO(new_STRING0, (unsigned)) ;
39 void PROTO( DB_free_STRING , (STRING *) ) ;
41 #define free_STRING(s) DB_free_STRING(s)
45 #define free_STRING(sval) if ( -- (sval)->ref_cnt == 0 )\
46 zfree(sval, (sval)->len+STRING_OH) ; else