switched many #ifdef's to #if defined()
This commit is contained in:
@ -85,7 +85,7 @@ struct qse_awk_parsestd_t
|
||||
|
||||
typedef struct qse_awk_parsestd_t qse_awk_parsestd_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -183,7 +183,7 @@ QSE_EXPORT qse_cmgr_t* qse_awk_rtx_getcmgrstd (
|
||||
const qse_char_t* ioname
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -54,7 +54,7 @@ typedef int (*qse_search_comper_t) (
|
||||
*/
|
||||
typedef qse_search_comper_t qse_sort_comper_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -214,7 +214,7 @@ QSE_EXPORT qse_size_t qse_debase64 (
|
||||
qse_size_t* xsz
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -162,7 +162,7 @@ typedef qse_ctype_t qse_wctype_t;
|
||||
((c) >= QSE_WT('A') && (c) <= QSE_WT('F'))? ((c) - QSE_WT('A') + 10): \
|
||||
((c) >= QSE_WT('a') && (c) <= QSE_WT('f'))? ((c) - QSE_WT('a') + 10): -1)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -220,7 +220,7 @@ QSE_EXPORT int qse_wcsntoctype (
|
||||
# define qse_strntoctype(name,len,id) qse_wcsntoctype(name,len,id)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
*/
|
||||
#define QSE_CP949LEN_MAX 2
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -96,7 +96,7 @@ QSE_EXPORT qse_size_t qse_cp949lenmax (
|
||||
void
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
*/
|
||||
#define QSE_CP950LEN_MAX 2
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -96,7 +96,7 @@ QSE_EXPORT qse_size_t qse_cp950lenmax (
|
||||
void
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -62,7 +62,7 @@ struct qse_dir_ent_t
|
||||
const qse_char_t* name;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -100,7 +100,7 @@ QSE_EXPORT int qse_dir_read (
|
||||
qse_dir_ent_t* ent
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -118,7 +118,7 @@ struct qse_dll_t
|
||||
#define QSE_DLL_DPTR(node) ((node)->val.ptr)
|
||||
#define QSE_DLL_DLEN(node) ((node)->val.len)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -331,7 +331,7 @@ QSE_EXPORT void qse_dll_poptail (
|
||||
qse_dll_t* dll
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -203,7 +203,7 @@ struct qse_fma_t
|
||||
qse_fma_blk_t* freeblk; /**< point to the first free block */
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -300,7 +300,7 @@ QSE_EXPORT void qse_fma_free (
|
||||
void* blk /**< memory block to free */
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -117,7 +117,7 @@ enum qse_fmtintmax_flag_t
|
||||
#define QSE_FMTUINTMAXTOWCS_FILLRIGHT QSE_FMTINTMAX_FILLRIGHT
|
||||
#define QSE_FMTUINTMAXTOWCS_FILLCENTER QSE_FMTINTMAX_FILLCENTER
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -299,7 +299,7 @@ QSE_EXPORT int qse_fmtfltmaxtombs (
|
||||
int digits
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -109,7 +109,7 @@ enum qse_fs_option_t
|
||||
QSE_FS_REALPATH = (1 << 2)
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -174,7 +174,7 @@ QSE_EXPORT int qse_fs_delete (
|
||||
const qse_char_t* path
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -183,7 +183,7 @@ struct qse_gdl_link_t
|
||||
#define QSE_GDL_ISHEAD(gdl,x) ((x)->prev == (qse_gdl_link_t*)(gdl))
|
||||
#define QSE_GDL_ISTAIL(gdl,x) ((x)->next == (qse_gdl_link_t*)(gdl))
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -205,7 +205,7 @@ QSE_EXPORT void qse_gdl_replace (
|
||||
qse_gdl_link_t* new_link
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -51,7 +51,7 @@ enum qse_glob_flags_t
|
||||
QSE_GLOB_TOLERANT = (1 << 3)
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -69,7 +69,7 @@ QSE_EXPORT int qse_glob (
|
||||
qse_mmgr_t* mmgr
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -295,7 +295,7 @@ struct qse_htb_t
|
||||
|
||||
#define QSE_HTB_NEXT(p) ((p)->next)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -657,7 +657,7 @@ QSE_EXPORT int qse_htb_dflcomp (
|
||||
qse_size_t klen2
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <qse/types.h>
|
||||
#include <qse/macros.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -68,7 +68,7 @@ QSE_EXPORT qse_uint128_t qse_hton128 (
|
||||
);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@ struct qse_ip6ad_t
|
||||
};
|
||||
#include <qse/unpack.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -153,7 +153,7 @@ QSE_EXPORT int qse_prefixtoip6ad (
|
||||
qse_ip6ad_t* ipad
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -150,7 +150,7 @@ struct qse_lda_slot_t
|
||||
qse_xptl_t val;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -421,7 +421,7 @@ QSE_EXPORT void qse_lda_popheap (
|
||||
qse_lda_t* lda
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -78,7 +78,7 @@ typedef int (*qse_runmainwithenv_handler_t) (
|
||||
qse_char_t* envp[]
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -107,7 +107,7 @@ QSE_EXPORT int qse_runmainwithenv (
|
||||
/* TODO: support more weird main functions. for example,
|
||||
* int main(int argc, char **argv, char **envp, char **apple) in Mac OS X */
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* This file provides functions, types, macros for mb8 conversion.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -63,7 +63,7 @@ qse_size_t qse_mb8towc (
|
||||
qse_wchar_t* wc
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -59,7 +59,7 @@ enum qse_cmgr_id_t
|
||||
};
|
||||
typedef enum qse_cmgr_id_t qse_cmgr_id_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -464,7 +464,7 @@ QSE_EXPORT qse_mchar_t* qse_wcsnatombsdup (
|
||||
qse_mmgr_t* mmgr
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
||||
*/
|
||||
#define QSE_MMGR_FREE(mmgr,ptr) ((mmgr)->free(mmgr,ptr))
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -193,7 +193,7 @@ QSE_EXPORT void qse_setdflmmgr (
|
||||
qse_mmgr_t* mmgr
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -66,7 +66,7 @@ struct qse_nwifcfg_t
|
||||
qse_uint8_t ethw[6]; /* out */
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -118,7 +118,7 @@ QSE_EXPORT int qse_getnwifcfg (
|
||||
qse_nwifcfg_t* cfg
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -102,7 +102,7 @@ struct qse_nwio_t
|
||||
|
||||
#define QSE_NWIO_HANDLE(nwio) ((nwio)->handle)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -206,7 +206,7 @@ QSE_EXPORT qse_ssize_t qse_nwio_write (
|
||||
qse_size_t size
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -140,7 +140,7 @@ typedef qse_oht_walk_t (*qse_oht_walker_t) (
|
||||
void* ctx
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -305,7 +305,7 @@ QSE_EXPORT void qse_oht_walk (
|
||||
void* ctx /**< context */
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -58,7 +58,7 @@ struct qse_opt_t
|
||||
qse_char_t* cur;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -84,7 +84,7 @@ QSE_EXPORT qse_cint_t qse_getopt (
|
||||
qse_opt_t* opt /* option configuration */
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -60,7 +60,7 @@ enum qse_canonpath_flag_t
|
||||
# define QSE_ISPATHWCSEP(c) ((c) == QSE_WT('/'))
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -242,7 +242,7 @@ QSE_EXPORT qse_size_t qse_canonwcspath (
|
||||
# define qse_canonpath(p,c,f) qse_canonwcspath(p,c,f)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -66,7 +66,7 @@ struct qse_pma_t
|
||||
int failed;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
@ -266,7 +266,7 @@ struct qse_rbt_t
|
||||
|
||||
#define QSE_RBT_NEXT(p) ((p)->next)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -590,7 +590,7 @@ QSE_EXPORT int qse_rbt_dflcomp (
|
||||
qse_size_t klen2
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -199,7 +199,7 @@ struct qse_rex_t
|
||||
qse_rex_node_t* code;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -307,7 +307,7 @@ QSE_EXPORT void qse_freerex (
|
||||
void* code
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -63,7 +63,7 @@ enum qse_shutsckhnd_how_t
|
||||
};
|
||||
typedef enum qse_shutsckhnd_how_t qse_shutsckhnd_how_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -81,7 +81,7 @@ QSE_EXPORT void qse_shutsckhnd (
|
||||
qse_shutsckhnd_how_t how
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -130,7 +130,7 @@ struct qse_sio_t
|
||||
/** access the @a errnum field of the #qse_sio_t structure */
|
||||
#define QSE_SIO_ERRNUM(sio) ((sio)->errnum)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -449,7 +449,7 @@ QSE_EXPORT qse_ssize_t qse_errputwcsvf (
|
||||
#define qse_fflush qse_sio_flush
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -150,7 +150,7 @@ struct qse_sll_node_t
|
||||
*/
|
||||
#define QSE_SLL_NEXT(node) ((node)->next)
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -392,7 +392,7 @@ QSE_EXPORT void qse_sll_poptail (
|
||||
qse_sll_t* sll
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -49,7 +49,7 @@ struct qse_mbstate_t
|
||||
/* SYSTEM LOCALE BASED CHARACTER CONVERSION */
|
||||
/* --------------------------------------------------- */
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -124,7 +124,7 @@ QSE_EXPORT qse_size_t qse_slmblenmax (
|
||||
void
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -33,7 +33,7 @@ typedef qse_task_slice_t* (*qse_task_fnc_t) (
|
||||
void* ctx
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -73,7 +73,7 @@ QSE_EXPORT void qse_task_schedule (
|
||||
);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -115,7 +115,7 @@ struct qse_btime_t
|
||||
(((x)->sec == (y)->sec)? ((x)->nsec - (y)->nsec): \
|
||||
((x)->sec - (y)->sec))
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -187,7 +187,7 @@ QSE_EXPORT void qse_subtime (
|
||||
qse_ntime_t* z
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -124,7 +124,7 @@ struct qse_tio_t
|
||||
qse_size_t outbuf_len;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -311,7 +311,7 @@ QSE_EXPORT qse_ssize_t qse_tio_writewcs (
|
||||
# define qse_tio_write(tio,str,size) qse_tio_writewcs(tio,str,size)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -99,7 +99,7 @@ enum qse_tre_eflag_t
|
||||
QSE_TRE_NOTEOL = (1 << 2)
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -169,7 +169,7 @@ QSE_EXPORT int qse_tre_exec (
|
||||
int eflags
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <qse/macros.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -49,7 +49,7 @@ QSE_EXPORT int qse_isunipunct (qse_wcint_t c);
|
||||
QSE_EXPORT qse_wcint_t qse_touniupper (qse_wcint_t c);
|
||||
QSE_EXPORT qse_wcint_t qse_tounilower (qse_wcint_t c);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -83,7 +83,7 @@ enum qse_wcstouri_flag_t
|
||||
typedef qse_wuri_t qse_uri_t;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -105,7 +105,7 @@ QSE_EXPORT int qse_wcstouri (
|
||||
#define qse_strtouri(str,uri,flags) qse_wcstouri(str,uri,flags)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
# error Unsupported wide-character size
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -102,7 +102,7 @@ qse_size_t qse_utf8lenmax (
|
||||
void
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -114,7 +114,7 @@ typedef int (*qse_xma_dumper_t) (
|
||||
...
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -215,7 +215,7 @@ QSE_EXPORT void qse_xma_dump (
|
||||
void* ctx /**< first parameter to output function */
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -132,7 +132,7 @@ struct qse_upxd_cbs_t
|
||||
|
||||
typedef struct qse_upxd_cbs_t qse_upxd_cbs_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -233,7 +233,7 @@ QSE_EXPORT int qse_upxd_poll (
|
||||
qse_ntime_t timeout
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -153,7 +153,7 @@
|
||||
* The #QSE_NULL macro defines a special pointer value to indicate an error or
|
||||
* that it does not point to anything.
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
# if QSE_SIZEOF_VOID_P == QSE_SIZEOF_INT
|
||||
# define QSE_NULL (0)
|
||||
# elif QSE_SIZEOF_VOID_P == QSE_SIZEOF_LONG
|
||||
@ -310,20 +310,20 @@
|
||||
(qse_assert_failed (QSE_T(#expr), QSE_T(desc), QSE_T(__FILE__), __LINE__), 0))
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
QSE_EXPORT void qse_assert_failed (
|
||||
const qse_char_t* expr, const qse_char_t* desc,
|
||||
const qse_char_t* file, qse_size_t line);
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
* C++ NAMESPACE
|
||||
* ---------------------------------------------------------------------- */
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
# define QSE_BEGIN_NAMESPACE(x) namespace x {
|
||||
# define QSE_END_NAMESPACE(x) }
|
||||
# define QSE_BEGIN_NAMESPACE2(x,y) namespace x { namespace y {
|
||||
|
@ -403,7 +403,7 @@ enum qse_sed_space_t
|
||||
};
|
||||
typedef enum qse_sed_space_t qse_sed_space_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -725,7 +725,7 @@ QSE_EXPORT void qse_sed_getspace (
|
||||
qse_cstr_t* str
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -91,7 +91,7 @@ struct qse_sed_iostd_t
|
||||
|
||||
typedef struct qse_sed_iostd_t qse_sed_iostd_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -234,7 +234,7 @@ QSE_EXPORT int qse_sed_execstdxstr (
|
||||
qse_cmgr_t* cmgr
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -86,7 +86,7 @@ struct qse_xli_iostd_t
|
||||
|
||||
typedef struct qse_xli_iostd_t qse_xli_iostd_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -131,7 +131,7 @@ QSE_EXPORT int qse_xli_writestd (
|
||||
qse_xli_iostd_t* out
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user