We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bbaacb commit dbb974fCopy full SHA for dbb974f
deckhandler.c
@@ -48,6 +48,11 @@ const struct dh_card dh_card_back = {
48
.suit = -1,
49
};
50
51
+const struct dh_card dh_card_null = {
52
+ .face_val = -2,
53
+ .suit = -2,
54
+};
55
+
56
void dh_pcg_srand(uint64_t initstate, uint64_t initseq) {
57
pcg32_srandom_r(&rng, initstate, initseq);
58
return;
deckhandler.h
@@ -62,6 +62,7 @@ struct dh_card {
62
63
64
extern const struct dh_card dh_card_back;
65
+extern const struct dh_card dh_card_null;
66
67
/**
68
* @struct dh_deck
0 commit comments