How to use @safe when a C library integration needed

Leonardo leotada523 at gmail.com
Sat Apr 15 16:16:39 UTC 2023


On Friday, 14 April 2023 at 16:19:22 UTC, Paul Backus wrote:
> On Friday, 14 April 2023 at 14:10:41 UTC, Leonardo wrote:
>> [...]
>
> No, there isn't. C is an unsafe language, so if you want to 
> call C from `@safe` code, you have to do the work to make sure 
> that each individual call is `@safe`.
>
> [...]

Thanks for your response.


More information about the Digitalmars-d-learn mailing list