switched many #ifdef's to #if defined()
This commit is contained in:
@ -21,13 +21,13 @@
|
||||
#ifndef _QSE_LIB_AWK_ERR_H_
|
||||
#define _QSE_LIB_AWK_ERR_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
const qse_char_t* qse_awk_dflerrstr (const qse_awk_t* awk, qse_awk_errnum_t errnum);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -38,7 +38,7 @@ struct qse_awk_fnc_t
|
||||
qse_awk_mod_t* mod; /* set by the engine to a valid pointer if it's associated to a module */
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -57,7 +57,7 @@ QSE_EXPORT int qse_awk_fnc_tolower (qse_awk_rtx_t* rtx, const qse_awk_fnc_info_t
|
||||
QSE_EXPORT int qse_awk_fnc_toupper (qse_awk_rtx_t* rtx, const qse_awk_fnc_info_t* fi);
|
||||
QSE_EXPORT int qse_awk_fnc_sprintf (qse_awk_rtx_t* rtx, const qse_awk_fnc_info_t* fi);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#ifndef _QSE_LIB_AWK_MISC_H_
|
||||
#define _QSE_LIB_AWK_MISC_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -86,7 +86,7 @@ int qse_awk_rtx_matchrex (
|
||||
qse_cstr_t* match
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -53,7 +53,7 @@ enum qse_awk_kwid_t
|
||||
|
||||
typedef enum qse_awk_kwid_t qse_awk_kwid_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -88,7 +88,7 @@ void qse_awk_clearsionames (
|
||||
qse_awk_t* awk
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#ifndef _QSE_LIB_AWK_RIO_H_
|
||||
#define _QSE_LIB_AWK_RIO_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -54,7 +54,7 @@ int qse_awk_rtx_closeio (
|
||||
|
||||
void qse_awk_rtx_cleario (qse_awk_rtx_t* run);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -102,7 +102,7 @@ enum qse_awk_incop_type_t
|
||||
QSE_AWK_INCOP_MINUS
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -117,7 +117,7 @@ qse_char_t* qse_awk_rtx_format (
|
||||
qse_size_t* len
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -303,7 +303,7 @@ struct qse_awk_nde_print_t
|
||||
qse_awk_nde_t* out;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -316,7 +316,7 @@ int qse_awk_prnptnpt (qse_awk_t* awk, qse_awk_nde_t* tree);
|
||||
|
||||
void qse_awk_clrpt (qse_awk_t* awk, qse_awk_nde_t* tree);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -106,7 +106,7 @@ struct qse_awk_val_rchunk_t
|
||||
#define QSE_AWK_RTX_GETVALTYPE(rtx,p) (IS_QUICKINT_POINTER(p)? QSE_AWK_VAL_INT: (p)->v_type)
|
||||
#define QSE_AWK_RTX_GETINTFROMVAL(rtx,p) ((IS_QUICKINT_POINTER(p)? (qse_awk_int_t)GET_QUICKINT_FROM_POINTER(p): ((qse_awk_val_int_t*)(p))->i_val))
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@ -137,7 +137,7 @@ void qse_awk_rtx_freevalchunk (
|
||||
qse_awk_val_chunk_t* chunk
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user