From patchwork Sat May 22 00:23:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12360 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id ADC38C3200 for ; Sat, 22 May 2021 00:23:28 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 101A46891E; Sat, 22 May 2021 02:23:28 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ttoAR9Ue"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4EB14602B2 for ; Sat, 22 May 2021 02:23:26 +0200 (CEST) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id CDA3B4A8 for ; Sat, 22 May 2021 02:23:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1621643006; bh=0OU/ls9NN4jkJflsD3w9B+s76kEXeRuozyPqVBRE8l8=; h=From:To:Subject:Date:From; b=ttoAR9Ue4ecMLNYTP//zssNbKV8C6KZQMc0//BUnhUmXl3CD8uqTN1C+wQNtWKTNr R3VqxARzMiyaxfQq/FOoC5N/BvqK1J4EczSy8psL3Oyn6+k6TtRtOCRDaLpEEqpgTb l1Z/umm/t58XNl8WnGlpeTUtmY+u4qtZEzn81+mQ= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Sat, 22 May 2021 03:23:09 +0300 Message-Id: <20210522002309.26083-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.28.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: log: Hide value of the ASSERT() macro X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" ASSERT() is a function-like macro that expands to internal code. Hide the expansion from the generated documentation, as it would only confuse the reader. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Fricke Reviewed-by: Umang Jain --- src/libcamera/log.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcamera/log.cpp b/src/libcamera/log.cpp index 985952249289..dd991647b9bc 100644 --- a/src/libcamera/log.cpp +++ b/src/libcamera/log.cpp @@ -990,6 +990,7 @@ LogMessage _log(const LogCategory *category, LogSeverity severity, /** * \def ASSERT(condition) + * \hideinitializer * \brief Abort program execution if assertion fails * * If \a condition is false, ASSERT() logs an error message with the Fatal log