File 3491-Update-since-attributes-for-c-pi-1-and-c-pi-3.patch of Package erlang

From afe44a507d76283cf34c797ad564e6cfcf9f44bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Wed, 21 Jan 2026 16:02:13 +0100
Subject: [PATCH] Update since attributes for c:pi/1 and c:pi/3

---
 lib/stdlib/src/c.erl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/stdlib/src/c.erl b/lib/stdlib/src/c.erl
index 8972665260..ce4bff2e8c 100644
--- a/lib/stdlib/src/c.erl
+++ b/lib/stdlib/src/c.erl
@@ -969,6 +969,7 @@ i(X, Y, Z) -> pi(X, Y, Z).
 -doc """
 Equivalent to `pi(pid(X, Y, Z))`.
 """.
+-doc(#{since => ~"OTP 29.0"}).
 -spec pi(X, Y, Z) -> [{atom(), term()}] when
       X :: non_neg_integer(),
       Y :: non_neg_integer(),
@@ -980,6 +981,7 @@ pi(X, Y, Z) -> pi(pid(X, Y, Z)).
 Displays information about a process, Equivalent to
 [`process_info(Pid)`](`process_info/1`), but location transparent.
 """.
+-doc(#{since => ~"OTP 29.0"}).
 -spec pi(Pid) -> [{atom(), term()}] when
       Pid :: pid().
 
-- 
2.51.0

openSUSE Build Service is sponsored by