Show a patch.

GET /api/1.1/patches/19372/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 19372,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/19372/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/19372/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20240105164104.78398-2-dan.scally@ideasonboard.com>",
    "date": "2024-01-05T16:41:00",
    "name": "[libcamera-devel,v2,1/5] libcamera: geometry: Correct doxygen reference to classes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9204d9fb8d8140474f221850071129d529b5575e",
    "submitter": {
        "id": 156,
        "url": "https://patchwork.libcamera.org/api/1.1/people/156/?format=api",
        "name": "Dan Scally",
        "email": "dan.scally@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/19372/mbox/",
    "series": [
        {
            "id": 4134,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4134/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4134",
            "date": "2024-01-05T16:40:59",
            "name": "Improve libcamera documentation",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/4134/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/19372/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/19372/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id B083EC3240\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  5 Jan 2024 16:41:25 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 179D562B32;\n\tFri,  5 Jan 2024 17:41:24 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EF96161D81\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  5 Jan 2024 17:41:21 +0100 (CET)",
            "from mail.ideasonboard.com\n\t(cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net [86.13.91.161])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 5CD54D49;\n\tFri,  5 Jan 2024 17:40:20 +0100 (CET)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1704472884;\n\tbh=AHU7PEquIJrGoeUzU1Luatu5O8VnvlbsJg5NrXatAKA=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=CX7QZB8EYzb7B7rOyn/sFSB9w2BsDBOZxA0na8yp+FKlNLTFxPQf4YCi3BN0XONTQ\n\t2MnsrfcffRe7z8BNKAHjDG3N9Zj0dQY4CEcRpu58Kb2+Er/qyK+QTy7/sMPm/xP0wY\n\t62owd0t2qeBlkS+B3ESocjr1jHLMpogOel+oqi6sDnKKrrLOPF+eKSIk5MeSHM7TO8\n\tqHgwRaeUrWYd4UDr9MhOO634a3tNZfRscOpgyd/xBF2G6cCymbfPDeLnHUFIOp7WhP\n\t94zBYgCDtNo2iFSiqGCJU1DyxWNueQUll8I9W/OxDK1KIGYgnSYkYeVe//LTzsrh8B\n\tOH2OKQ+XMPfWg==",
            "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1704472820;\n\tbh=AHU7PEquIJrGoeUzU1Luatu5O8VnvlbsJg5NrXatAKA=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=Ehe07KGMZWSaz7FRTIdjqN1OI7DKm9XzpeR5WOiWofXw45Zgo89I6Y1ukg2LUYO8P\n\tip92/iHWE97Lggw3WJ0s2r4772E7Lk1DwYtNaS3ZdSBmgcy9jk8V3C1tdUkauxluky\n\tVS3G6BRqpyJN3yenG8V3ihhNytpELF/FVjv/K1XE="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"Ehe07KGM\"; dkim-atps=neutral",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri,  5 Jan 2024 16:41:00 +0000",
        "Message-Id": "<20240105164104.78398-2-dan.scally@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20240105164104.78398-1-dan.scally@ideasonboard.com>",
        "References": "<20240105164104.78398-1-dan.scally@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 1/5] libcamera: geometry: Correct\n\tdoxygen reference to classes",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "From": "Daniel Scally via libcamera-devel <libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Daniel Scally <dan.scally@ideasonboard.com>",
        "Cc": "Jacopo Mondi <jacopo.mondi@ideasonboard.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "The classes Rectangle, Size and SizeRange are referenced with \\struct\nin the doxygen comments in geometry.cpp. Correct the reference to\n\\class to better reflect their definition.\n\nReviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nSigned-off-by: Daniel Scally <dan.scally@ideasonboard.com>\n---\nChanges in v2:\n\n\t- None\n\n src/libcamera/geometry.cpp | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/src/libcamera/geometry.cpp b/src/libcamera/geometry.cpp\nindex e50b46c5..8d85b758 100644\n--- a/src/libcamera/geometry.cpp\n+++ b/src/libcamera/geometry.cpp\n@@ -95,10 +95,10 @@ std::ostream &operator<<(std::ostream &out, const Point &p)\n }\n \n /**\n- * \\struct Size\n+ * \\class Size\n  * \\brief Describe a two-dimensional size\n  *\n- * The Size structure defines a two-dimensional size with integer precision.\n+ * The Size class defines a two-dimensional size with integer precision.\n  */\n \n /**\n@@ -455,7 +455,7 @@ std::ostream &operator<<(std::ostream &out, const Size &s)\n }\n \n /**\n- * \\struct SizeRange\n+ * \\class SizeRange\n  * \\brief Describe a range of sizes\n  *\n  * A SizeRange describes a range of sizes included in the [min, max] interval\n@@ -589,7 +589,7 @@ std::ostream &operator<<(std::ostream &out, const SizeRange &sr)\n }\n \n /**\n- * \\struct Rectangle\n+ * \\class Rectangle\n  * \\brief Describe a rectangle's position and dimensions\n  *\n  * Rectangles are used to identify an area of an image. They are specified by\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "1/5"
    ]
}