added qse_awk_rtx_setprm().

changed some module functions to use referenced argument
This commit is contained in:
2013-01-05 14:38:30 +00:00
parent db32de0ceb
commit d9f961c6c3
6 changed files with 124 additions and 79 deletions

View File

@ -424,9 +424,14 @@ void* qse_awk_getxtn (qse_awk_t* awk)
return QSE_XTN (awk);
}
qse_awk_prm_t* qse_awk_getprm (qse_awk_t* awk)
void qse_awk_getprm (qse_awk_t* awk, qse_awk_prm_t* prm)
{
return &awk->prm;
*prm = awk->prm;
}
void qse_awk_setprm (qse_awk_t* awk, const qse_awk_prm_t* prm)
{
awk->prm = *prm;
}
int qse_awk_setopt (qse_awk_t* awk, qse_awk_opt_t id, const void* value)