diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-17 23:13:14 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-17 23:13:14 +0300 |
commit | 0907dd281b71fb440c83fc53e6b4c7312f1c1f47 (patch) | |
tree | 4b68597c9c69c9d8af03213989b3edfa951477e5 /awk.h | |
parent | 7e99da1009403952ec84ade1cad199b59927f735 (diff) | |
download | egawk-0907dd281b71fb440c83fc53e6b4c7312f1c1f47.tar.gz egawk-0907dd281b71fb440c83fc53e6b4c7312f1c1f47.tar.bz2 egawk-0907dd281b71fb440c83fc53e6b4c7312f1c1f47.zip |
Add AWK_VALUE_COOKIE. And performance speedup.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1636,7 +1636,8 @@ extern const wchar_t *wstrstr(const wchar_t *haystack, size_t hs_len, const wchar_t *needle, size_t needle_len); extern const wchar_t *wcasestrstr(const wchar_t *haystack, size_t hs_len, const wchar_t *needle, size_t needle_len); -extern void free_wstr(NODE *n); +extern void r_free_wstr(NODE *n); +#define free_wstr(n) (((n)->flags & WSTRCUR) ? r_free_wstr(n) : 0) extern wint_t btowc_cache[]; #define btowc_cache(x) btowc_cache[(x)&0xFF] extern void init_btowc_cache(); |