Wrapping C APIs in D functions of same name?

Rick Mann rmann-d-lang at latencyzero.com
Sat Jan 27 18:45:39 PST 2007


I'm writing interface modules for some C APIs. In a few cases, I need to pre- and post-process some of the data passed to and from them. I'd like to wrap the methods in "pure" D methods with the same name as the C methods I want to call. Is there any way to do this?

TIA,
Rick


More information about the Digitalmars-d-learn mailing list