ImportC and nothrow/@nogc?
Walter Bright
newshound2 at digitalmars.com
Mon Aug 26 05:37:13 UTC 2024
On 8/24/2024 10:15 AM, Manu wrote:
> *sigh* ... I'm not going to do that.
> ImportC either works, or it doesn't... and it currently doesn't work, and I'm
> just going to move on.
> By far the easiest and least ridiculous feeling thing can do right now is to
> just prototype the occasional C library call inline immediately before the call,
> which is what I've moved on with.
> Fortunately my call volume is low.
You're right, that will work.
I tried to make C calls default to @trusted. Every single person in the
community who voiced an opinion on it was dead set against it. But here you are,
saying who cares what C does.
I've got a cannon on one side aimed at me, and a flak gun on the other side.
What do you suggest I do?
More information about the Digitalmars-d
mailing list