diff options
author | Nathan Vance <nathav63@gmail.com> | 2015-02-18 19:51:17 -0500 |
---|---|---|
committer | Nathan Vance <nathav63@gmail.com> | 2015-02-18 19:51:17 -0500 |
commit | d43d5b206ae3393a19b21c36d2b8ba443ed0e121 (patch) | |
tree | a6607af121caf8a79e528ae20d6786e108136d84 /util.c | |
parent | added data to keep track of hands and what's been built (diff) | |
download | 7w-d43d5b206ae3393a19b21c36d2b8ba443ed0e121.tar.gz 7w-d43d5b206ae3393a19b21c36d2b8ba443ed0e121.tar.bz2 7w-d43d5b206ae3393a19b21c36d2b8ba443ed0e121.zip |
Added a view for the hand
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -26,6 +26,12 @@ char* get_chararray(int size) return ret; } +void array_cpy(int *a, int *b, int len) //copies b to a +{ + int i; + for(i = 0; i < len; i++) a[i] = b[i]; +} + /* In string a[], replace nth occerence of x[] with y[], or all occerences if n == 0. Note '.' is wild and the last . replaced will be returned. */ |