On Friday, 4 October 2024 at 12:39:45 UTC, Alexander Zhirov wrote:
On Thursday, 3 October 2024 at 23:56:37 UTC, Salih Dincer wroteI meant taking the function to D for the elements of the C syntax. To get only an API to which we can pass our callback, and hide everything else inside the wrapper. I have no experience porting from C to D, but I would like to try to learn the basics to make a small library for PAM.
https://dlang.org/spec/importc.html