Explain.h

xiaoxiao2021-04-03  193

#ifdef __cplusplusextern "c" {#ENDIF

#ifndef explain -------------------------------------- Decide whether to define some explanation macro # Define Def_Explain # Define Explain0 (f) #define Explain1 (F, A1) #define Explain2 (F, A1, A2) #define Explain3 (F, A1, A2, A3) #define Explain4 (F, A1, A2, A3, A4) #Define Explain5 (F, A1, A2, A3, A4, A5) #define Explain6 (F, A1, A2, A3, A4, A5, A6) # Else # include "http_log.h" #define def_explain # define Explain0 (f) / ap_log_error (APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, NULL, / f) #define Explain1 (f, a1) / ap_log_error (APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, NULL, / f, a1) #define Explain2 (f, a1, a2) / ap_log_error (APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, NULL, / f, a1, a2) #define Explain3 (f, a1, a2, a3) / ap_log_error (APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, NULL, / f, a1, a2, A3) #define Explain4 (F, A1, A2, A3, A4) / AP_LOG_ERROR (APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, NULL, / F, A1, A2, A3, A4) #define explain5 (f, A1, A2, A3, A4, A5) / AP_LOG _ERROR (APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, NULL, / F, A1, A2, A3, A4, A5) #define Explain6 (F, A1, A2, A3, A4, A5, A6) / AP_LOG_ERROR (APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, NULL, / F, A1, A2, A3, A4, A5, A6)

#ENDIF

#ifdef __cplusplus} #ENDIF

转载请注明原文地址:https://www.9cbs.com/read-131481.html

New Post(0)