fixed a bug when assigning NF with a large number than the current number of records
This commit is contained in:
@ -2656,6 +2656,15 @@ QSE_EXPORT int qse_awk_rtx_setrec (
|
||||
const qse_cstr_t* str /**< string */
|
||||
);
|
||||
|
||||
/**
|
||||
* The qse_awk_rtx_truncrec() function lowered the number of fields in a record.
|
||||
* The caller must ensure that \a nflds is less than the current number of fields
|
||||
*/
|
||||
QSE_EXPORT int qse_awk_rtx_truncrec (
|
||||
qse_awk_rtx_t* rtx,
|
||||
qse_size_t nflds
|
||||
);
|
||||
|
||||
/**
|
||||
* The qse_awk_rtx_isnilval() function determines if a value
|
||||
* is a nil value.
|
||||
|
Reference in New Issue
Block a user