added qse_awk_rtx_callwithstrs()

This commit is contained in:
2012-10-18 14:11:59 +00:00
parent e2f152c927
commit 3cec861547
9 changed files with 168 additions and 20 deletions

View File

@ -1742,6 +1742,19 @@ qse_awk_val_t* qse_awk_rtx_call (
qse_size_t nargs /**< the number of arguments */
);
/**
* The qse_awk_rtx_callwithstrs() function is the same as qse_awk_rtx_call()
* except that you pass pointers to null-terminated strings. It creates values
* from the null-terminated strings and calls qse_awk_rtx_call() with the
* values created.
*/
qse_awk_val_t* qse_awk_rtx_callwithstrs (
qse_awk_rtx_t* rtx, /**< runtime context */
const qse_char_t* name, /**< function name */
const qse_char_t** args, /**< arguments to the function */
qse_size_t nargs /**< the number of arguments */
);
/**
* The qse_awk_stopall() function aborts all active runtime contexts
* associated with @a awk.

View File

@ -162,12 +162,12 @@ int qse_awk_parsestd (
* streams created with @a icf and @a ocf if it is not #QSE_NULL.
*/
qse_awk_rtx_t* qse_awk_rtx_openstd (
qse_awk_t* awk,
qse_size_t xtn,
const qse_char_t* id,
const qse_char_t*const icf[],
const qse_char_t*const ocf[],
qse_cmgr_t* cmgr
qse_awk_t* awk,
qse_size_t xtn,
const qse_char_t* id,
const qse_char_t* icf[],
const qse_char_t* ocf[],
qse_cmgr_t* cmgr
);
/**