added a few lines of constant folding code for awk. still incomplete

This commit is contained in:
2011-07-23 09:37:46 +00:00
parent 7740b30aea
commit b2e7566e6b
5 changed files with 216 additions and 62 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: misc.h 462 2011-05-18 14:36:40Z hyunghwan.chung $
* $Id: misc.h 514 2011-07-22 15:37:46Z hyunghwan.chung $
*
Copyright 2006-2011 Chung, Hyung-Hwan.
This file is part of QSE.
@ -76,6 +76,22 @@ int qse_awk_matchrex (
qse_cstr_t* match, qse_awk_errnum_t* errnum
);
int qse_awk_sprintlong (
qse_awk_t* awk,
qse_char_t* buf,
qse_size_t len,
qse_long_t num
);
int qse_awk_sprintreal (
qse_awk_t* awk,
qse_char_t* buf,
qse_size_t len,
qse_real_t num
);
#ifdef __cplusplus
}
#endif