Skip to content

D attributes for the translations

Atila Neves edited this page Aug 6, 2018 · 1 revision

Currently all C code is being translated as @nogc nothrow. It's possible this won't be correct with callbacks and may change in the future.

As for other attributes, and even if @nogc nothrow is no longer the default, one can:

@safe @nogc pure nothrow {
#include "header.h"
}
Clone this wiki locally