mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Introduce a `shuffle' utility function.
[originally from svn r6090]
This commit is contained in:
@ -223,6 +223,9 @@ unsigned char *hex2bin(const char *in, int outlen);
|
||||
void game_mkhighlight(frontend *fe, float *ret,
|
||||
int background, int highlight, int lowlight);
|
||||
|
||||
/* Randomly shuffles an array of items. */
|
||||
void shuffle(void *array, int nelts, int eltsize, random_state *rs);
|
||||
|
||||
/*
|
||||
* version.c
|
||||
*/
|
||||
|
Reference in New Issue
Block a user