On Mon, 20 May 2013 18:05:18 +0200, Byron Heads <byron.heads at gmail.com> wrote: > What about dealing with externs you want to protect? > > extern(C) void foo(@nonnull int* x); There is nothing stopping you from declaring that with this signature: extern(C) void foo(NonNull!(int*) x); -- Simen