changed @inclone to @include_once

changed the sf_in_open() to set arg->uniqie_id in lib/awk/std.c
This commit is contained in:
2019-05-13 05:22:40 +00:00
parent 3bfaaa2bc9
commit 546d34d732
21 changed files with 121 additions and 129 deletions

View File

@ -580,10 +580,10 @@ struct qse_awk_sio_arg_t
/**
* [OUT] unique id set by an input handler. it is used for a single time inclusion check.
*/
qse_uint8_t unique_id[16];
qse_uint8_t unique_id[QSE_SIZEOF_INTPTR_T * 2];
/**
* [IN] points to the includer. #QSE_NULL for the toplevel.
* [IN] points to the includer. #QSE_NULL for the toplevel.
*
*/
qse_awk_sio_arg_t* prev;

View File

@ -237,9 +237,9 @@ QSE_EXPORT qse_fio_errnum_t qse_fio_geterrnum (
);
/**
* The qse_fio_gethandle() function returns the native file handle.
* The qse_fio_gethnd() function returns the native file handle.
*/
QSE_EXPORT qse_fio_hnd_t qse_fio_gethandle (
QSE_EXPORT qse_fio_hnd_t qse_fio_gethnd (
const qse_fio_t* fio
);

View File

@ -48,8 +48,8 @@ struct qse_fattr_t
qse_uintptr_t mode;
qse_uintmax_t size;
qse_uintmax_t ino;
qse_uintmax_t dev;
qse_uintptr_t ino;
qse_uintptr_t dev;
qse_uintptr_t uid;
qse_uintptr_t gid;

View File

@ -169,9 +169,9 @@ QSE_EXPORT qse_nwio_errnum_t qse_nwio_geterrnum (
);
/**
* The qse_nwio_gethandle() function returns the native file handle.
* The qse_nwio_gethnd() function returns the native file handle.
*/
QSE_EXPORT qse_nwio_hnd_t qse_nwio_gethandle (
QSE_EXPORT qse_nwio_hnd_t qse_nwio_gethnd (
const qse_nwio_t* nwio
);

View File

@ -320,10 +320,10 @@ QSE_EXPORT void qse_pio_setcmgr (
);
/**
* The qse_pio_gethandle() function gets a pipe handle.
* The qse_pio_gethnd() function gets a pipe handle.
* \return pipe handle
*/
QSE_EXPORT qse_pio_hnd_t qse_pio_gethandle (
QSE_EXPORT qse_pio_hnd_t qse_pio_gethnd (
const qse_pio_t* pio, /**< pio object */
qse_pio_hid_t hid /**< handle ID */
);

View File

@ -208,7 +208,7 @@ QSE_EXPORT void qse_sio_setcmgr (
qse_cmgr_t* cmgr
);
QSE_EXPORT qse_sio_hnd_t qse_sio_gethandle (
QSE_EXPORT qse_sio_hnd_t qse_sio_gethnd (
const qse_sio_t* sio
);