Update samples

dhry failed to compile with:
Error: cannot pass static arrays to extern(C) vararg functions