https://issues.dlang.org/show_bug.cgi?id=21218

Seb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|dtoh: protected attribute   |dtoh: protection attributes
                   |should be emitted to        |should be emitted to
                   |headers                     |headers

--- Comment #1 from Seb <[email protected]> ---
This also applies to `private` and likely all other protection attributes:

```
extern(C++) struct Foo {
  private int a = 1;
}
```

generates currently:

```
struct Foo
{
    int32_t a;
    Foo() {}
};
```

--

Reply via email to