Load dynamic libraries with no hand-written bindings!

Steven Schveighoffer schveiguy at gmail.com
Tue Sep 6 16:28:18 UTC 2022


On 9/6/22 12:03 PM, Andrej Mitrovic wrote:

> Pretty neat, huh?
> 

Nice! I wonder if it can be used to generate static bindings as well? As 
in, just use it to spit out a D module with the proper function/struct 
definitions?

dstep can do this, but maybe easy enough to do with ImportC and a small 
import file.

Still doesn't help with #defines though...

-Steve


More information about the Digitalmars-d mailing list