documented more functions

This commit is contained in:
2009-09-15 07:29:55 +00:00
parent 07d4a531f8
commit 3707f4dca8
4 changed files with 178 additions and 65 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: Awk.cpp 275 2009-08-30 13:19:02Z hyunghwan.chung $
* $Id: Awk.cpp 286 2009-09-14 13:29:55Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -1314,7 +1314,7 @@ void Awk::setMaxDepth (int ids, size_t depth)
qse_awk_setmaxdepth (awk, ids, depth);
}
Awk::size_t Awk::getMaxDepth (int id) const
Awk::size_t Awk::getMaxDepth (depth_t id) const
{
QSE_ASSERT (awk != QSE_NULL);
return qse_awk_getmaxdepth (awk, id);

View File

@ -1,5 +1,5 @@
/*
* $Id: awk.c 267 2009-08-25 09:50:07Z hyunghwan.chung $
* $Id: awk.c 286 2009-09-14 13:29:55Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
@ -447,7 +447,7 @@ int qse_awk_setword (
return 0;
}
qse_size_t qse_awk_getmaxdepth (qse_awk_t* awk, int type)
qse_size_t qse_awk_getmaxdepth (qse_awk_t* awk, qse_awk_depth_t type)
{
return (type == QSE_AWK_DEPTH_BLOCK_PARSE)? awk->parse.depth.max.block:
(type == QSE_AWK_DEPTH_BLOCK_RUN)? awk->run.depth.max.block: