fixed StdAwk to set the MODPREFIX when dlfcn is activated.

added Awk::getCmgr()
enhanced some string functions to handle byte strings
This commit is contained in:
2019-04-23 15:32:23 +00:00
parent 03301b79bf
commit 7811171dff
14 changed files with 383 additions and 157 deletions

View File

@ -959,6 +959,8 @@ public:
/// called close() for finalization before the destructor is executed.
virtual ~Awk () {}
qse_cmgr_t* getCmgr () const;
///
/// The open() function initializes an interpreter.
/// You must call this function before doing anything meaningful.

View File

@ -2231,6 +2231,11 @@ QSE_EXPORT qse_mmgr_t* qse_awk_rtx_getmmgr (
qse_awk_rtx_t* rtx /**< runtime context */
);
QSE_EXPORT qse_cmgr_t* qse_awk_rtx_getcmgr (
qse_awk_rtx_t* rtx /**< runtime context */
);
/**
* The qse_awk_rtx_getxtn() function gets the pointer to the extension area
* created with qse_awk_rtx_open().