Re: ABI Compliance Checker GSoC Project

From: Andres Freund <andres(at)anarazel(dot)de>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Mankirat Singh <mankiratsingh1315(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: ABI Compliance Checker GSoC Project
Date: 2025-06-04 16:10:58
Message-ID: o2jz3djagnwdvvuncnizd4vekp6goxjzjx2e555hz67k7aiaoa@7nxs2r5m7waf
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2025-06-04 11:15:10 -0400, David E. Wheeler wrote:
> On Jun 4, 2025, at 09:43, Álvaro Herrera <alvherre(at)kurilemu(dot)de> wrote:
>
> > You mentioned ReadStream, but that's not exported.
>
> I this not an export at line 67?
>
> ```
> ❯ rg ReadStream src/include/storage/read_stream.h
>
> 50: * the ReadStreamBlockNumberCB callback to abide by the restrictions of AIO
> 66:struct ReadStream;
> 67:typedef struct ReadStream ReadStream;

No. It just makes the *name* of the struct visible. The type's definition is
in the .c file and therefore not visible outside of read_stream.c.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2025-06-04 16:15:29 Re: Partitioned tables and [un]loggedness
Previous Message Jeff Davis 2025-06-04 15:53:53 Re: [19] Proposal: function markers to indicate collation/ctype sensitivity