str.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/* $RCSfile: str.h,v $$Revision: 4.1 $$Date: 92/08/07 18:29:27 $
*
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1999, 2000,
* by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
*
* $Log: str.h,v $
*/
struct string {
char * str_ptr; /* pointer to malloced string */
double str_nval; /* numeric value, if any */
int str_len; /* allocated size */
int str_cur; /* length of str_ptr as a C string */
union {
} str_link;
char str_pok; /* state of str_ptr */
char str_nok; /* state of str_nval */
};
/* the following macro updates any magic values this str is associated with */