Just another update

This commit is contained in:
Ingy döt Net 2015-02-20 00:35:01 -05:00
parent a25938f123
commit 00a190b0a6
6591 changed files with 94363 additions and 23227 deletions

View file

@ -1,7 +1,7 @@
enum side = 8;
__gshared int[side] board;
bool isUnsafe(in int y) nothrow {
bool isUnsafe(in int y) nothrow @nogc {
immutable int x = board[y];
foreach (immutable i; 1 .. y + 1) {
immutable int t = board[y - i];
@ -12,7 +12,7 @@ bool isUnsafe(in int y) nothrow {
return false;
}
void showBoard() nothrow {
void showBoard() nothrow @nogc {
import core.stdc.stdio;
static int s = 1;
@ -24,7 +24,7 @@ void showBoard() nothrow {
}
}
void main() nothrow {
void main() nothrow @nogc {
int y = 0;
board[0] = -1;