fixed more file inclusion bugs
This commit is contained in:
@ -207,11 +207,23 @@ public:
|
||||
return this->mode;
|
||||
}
|
||||
|
||||
bool isMaster() const
|
||||
{
|
||||
return this->arg->prev == QSE_NULL;
|
||||
}
|
||||
|
||||
const char_t* getName() const
|
||||
{
|
||||
return this->arg->name;
|
||||
}
|
||||
|
||||
// since it doesn't copy the contents,
|
||||
// it should point to something that outlives this object.
|
||||
void setName (const char_t* name)
|
||||
{
|
||||
this->arg->name = name;
|
||||
}
|
||||
|
||||
const char_t* getPrevName() const
|
||||
{
|
||||
return this->arg->prev->name;
|
||||
|
@ -497,18 +497,13 @@ struct qse_awk_sio_lxc_t
|
||||
};
|
||||
typedef struct qse_awk_sio_lxc_t qse_awk_sio_lxc_t;
|
||||
|
||||
enum qse_awk_sio_arg_flag_t
|
||||
{
|
||||
QSE_AWK_SIO_INCLUDED = (1 << 0)
|
||||
};
|
||||
|
||||
typedef struct qse_awk_sio_arg_t qse_awk_sio_arg_t;
|
||||
struct qse_awk_sio_arg_t
|
||||
{
|
||||
/**
|
||||
* [IN/OUT] name of I/O object.
|
||||
* It is #QSE_NULL for the top-level stream. It points to a stream name
|
||||
* for an included stream.
|
||||
* for an included stream. This can be changed by an I/O handler.
|
||||
*/
|
||||
const qse_char_t* name;
|
||||
|
||||
|
@ -231,9 +231,9 @@ typedef struct qse_xli_io_arg_t qse_xli_io_arg_t;
|
||||
struct qse_xli_io_arg_t
|
||||
{
|
||||
/**
|
||||
* [IN] name of I/O object.
|
||||
* [IN/OUT] name of I/O object.
|
||||
* It is #QSE_NULL for the top-level stream. It points to a stream name
|
||||
* for an included stream.
|
||||
* for an included stream. This can be changed by an I/O handler.
|
||||
*/
|
||||
const qse_char_t* name;
|
||||
|
||||
|
Reference in New Issue
Block a user