removed a unneeded macro argument from qse_ethwadtostr()
This commit is contained in:
parent
375ede4a6a
commit
3cd745c181
@ -82,11 +82,11 @@ QSE_EXPORT qse_size_t qse_ethwadtowcs (
|
|||||||
#if defined(QSE_CHAR_IS_MCHAR)
|
#if defined(QSE_CHAR_IS_MCHAR)
|
||||||
# define qse_strtoethwad(ptr,hwad) qse_mbstoethwad(ptr,hwad)
|
# define qse_strtoethwad(ptr,hwad) qse_mbstoethwad(ptr,hwad)
|
||||||
# define qse_strntoethwad(ptr,len,hwad) qse_mbsntoethwad(ptr,len,hwad)
|
# define qse_strntoethwad(ptr,len,hwad) qse_mbsntoethwad(ptr,len,hwad)
|
||||||
# define qse_ethwadtostr(hwad,ptr,len,flags) qse_ethwadtombs(hwad,ptr,len,flags)
|
# define qse_ethwadtostr(hwad,ptr,len) qse_ethwadtombs(hwad,ptr,len)
|
||||||
#else
|
#else
|
||||||
# define qse_strtoethwad(ptr,hwad) qse_wcstoethwad(ptr,hwad)
|
# define qse_strtoethwad(ptr,hwad) qse_wcstoethwad(ptr,hwad)
|
||||||
# define qse_strntoethwad(ptr,len,hwad) qse_wcsntoethwad(ptr,len,hwad)
|
# define qse_strntoethwad(ptr,len,hwad) qse_wcsntoethwad(ptr,len,hwad)
|
||||||
# define qse_ethwadtostr(hwad,ptr,len,flags) qse_ethwadtowcs(hwad,ptr,len,flags)
|
# define qse_ethwadtostr(hwad,ptr,len) qse_ethwadtowcs(hwad,ptr,len)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
@ -98,7 +98,7 @@ typedef enum qse_xli_errnum_t qse_xli_errnum_t;
|
|||||||
* editor with the qse_xli_seterrstr() function to customize an error string.
|
* editor with the qse_xli_seterrstr() function to customize an error string.
|
||||||
*/
|
*/
|
||||||
typedef const qse_char_t* (*qse_xli_errstr_t) (
|
typedef const qse_char_t* (*qse_xli_errstr_t) (
|
||||||
const qse_xli_t* xli, /**< stream editor */
|
const qse_xli_t* xli, /**< xli object */
|
||||||
qse_xli_errnum_t num /**< error number */
|
qse_xli_errnum_t num /**< error number */
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -459,7 +459,7 @@ QSE_EXPORT int qse_xli_setopt (
|
|||||||
* The qse_xli_geterrstr() gets an error string getter.
|
* The qse_xli_geterrstr() gets an error string getter.
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT qse_xli_errstr_t qse_xli_geterrstr (
|
QSE_EXPORT qse_xli_errstr_t qse_xli_geterrstr (
|
||||||
const qse_xli_t* xli /**< stream editor */
|
const qse_xli_t* xli /**< xli object */
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -487,7 +487,7 @@ QSE_EXPORT qse_xli_errstr_t qse_xli_geterrstr (
|
|||||||
* @endcode
|
* @endcode
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT void qse_xli_seterrstr (
|
QSE_EXPORT void qse_xli_seterrstr (
|
||||||
qse_xli_t* xli, /**< stream editor */
|
qse_xli_t* xli, /**< xli object */
|
||||||
qse_xli_errstr_t errstr /**< an error string getter */
|
qse_xli_errstr_t errstr /**< an error string getter */
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -496,7 +496,7 @@ QSE_EXPORT void qse_xli_seterrstr (
|
|||||||
* @return error number
|
* @return error number
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT qse_xli_errnum_t qse_xli_geterrnum (
|
QSE_EXPORT qse_xli_errnum_t qse_xli_geterrnum (
|
||||||
const qse_xli_t* xli /**< stream editor */
|
const qse_xli_t* xli /**< xli object */
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -505,7 +505,7 @@ QSE_EXPORT qse_xli_errnum_t qse_xli_geterrnum (
|
|||||||
* @return error location
|
* @return error location
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT const qse_xli_loc_t* qse_xli_geterrloc (
|
QSE_EXPORT const qse_xli_loc_t* qse_xli_geterrloc (
|
||||||
const qse_xli_t* xli /**< stream editor */
|
const qse_xli_t* xli /**< xli object */
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -513,7 +513,7 @@ QSE_EXPORT const qse_xli_loc_t* qse_xli_geterrloc (
|
|||||||
* @return error message pointer
|
* @return error message pointer
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT const qse_char_t* qse_xli_geterrmsg (
|
QSE_EXPORT const qse_char_t* qse_xli_geterrmsg (
|
||||||
const qse_xli_t* xli /**< stream editor */
|
const qse_xli_t* xli /**< xli object */
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -522,7 +522,7 @@ QSE_EXPORT const qse_char_t* qse_xli_geterrmsg (
|
|||||||
* to by each parameter.
|
* to by each parameter.
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT void qse_xli_geterror (
|
QSE_EXPORT void qse_xli_geterror (
|
||||||
const qse_xli_t* xli, /**< stream editor */
|
const qse_xli_t* xli, /**< xli object */
|
||||||
qse_xli_errnum_t* errnum, /**< error number */
|
qse_xli_errnum_t* errnum, /**< error number */
|
||||||
const qse_char_t** errmsg, /**< error message */
|
const qse_char_t** errmsg, /**< error message */
|
||||||
qse_xli_loc_t* errloc /**< error location */
|
qse_xli_loc_t* errloc /**< error location */
|
||||||
@ -533,7 +533,7 @@ QSE_EXPORT void qse_xli_geterror (
|
|||||||
* location.
|
* location.
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT void qse_xli_seterrnum (
|
QSE_EXPORT void qse_xli_seterrnum (
|
||||||
qse_xli_t* xli, /**< stream editor */
|
qse_xli_t* xli, /**< xli object */
|
||||||
qse_xli_errnum_t errnum, /**< error number */
|
qse_xli_errnum_t errnum, /**< error number */
|
||||||
const qse_cstr_t* errarg /**< argument for formatting error message */
|
const qse_cstr_t* errarg /**< argument for formatting error message */
|
||||||
);
|
);
|
||||||
@ -543,7 +543,7 @@ QSE_EXPORT void qse_xli_seterrnum (
|
|||||||
* message for a given error number.
|
* message for a given error number.
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT void qse_xli_seterrmsg (
|
QSE_EXPORT void qse_xli_seterrmsg (
|
||||||
qse_xli_t* xli, /**< stream editor */
|
qse_xli_t* xli, /**< xli object */
|
||||||
qse_xli_errnum_t errnum, /**< error number */
|
qse_xli_errnum_t errnum, /**< error number */
|
||||||
const qse_char_t* errmsg, /**< error message */
|
const qse_char_t* errmsg, /**< error message */
|
||||||
const qse_xli_loc_t* errloc /**< error location */
|
const qse_xli_loc_t* errloc /**< error location */
|
||||||
@ -555,7 +555,7 @@ QSE_EXPORT void qse_xli_seterrmsg (
|
|||||||
* and an array of formatting parameters.
|
* and an array of formatting parameters.
|
||||||
*/
|
*/
|
||||||
QSE_EXPORT void qse_xli_seterror (
|
QSE_EXPORT void qse_xli_seterror (
|
||||||
qse_xli_t* xli, /**< stream editor */
|
qse_xli_t* xli, /**< xli object */
|
||||||
qse_xli_errnum_t errnum, /**< error number */
|
qse_xli_errnum_t errnum, /**< error number */
|
||||||
const qse_cstr_t* errarg, /**< array of arguments for formatting
|
const qse_cstr_t* errarg, /**< array of arguments for formatting
|
||||||
* an error message */
|
* an error message */
|
||||||
|
Loading…
Reference in New Issue
Block a user