From 3a40f52f897e8e3ef7fa665504fbbe557420fb59 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 14 Jan 2008 14:18:36 +0000 Subject: implemented $MainMsgQueueDiscardMar and $MainMsgQueueDiscardSeverity (but serverity needs to be specified numerically for the time being) --- obj.h | 1 + 1 file changed, 1 insertion(+) (limited to 'obj.h') diff --git a/obj.h b/obj.h index acdbd24e..f4a9aee6 100644 --- a/obj.h +++ b/obj.h @@ -80,6 +80,7 @@ #endif #define objDestruct(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_DESTRUCT])(pThis) #define objSerialize(pThis) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_SERIALIZE]) +#define objGetSeverity(pThis, piSever) (((obj_t*) (pThis))->pObjInfo->objMethods[objMethod_GETSEVERITY])(pThis, piSever) #define OBJSetMethodHandler(methodID, pHdlr) \ CHKiRet(objInfoSetMethod(pObjInfoOBJ, methodID, (rsRetVal (*)(void*)) pHdlr)) -- cgit