diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-03-26 17:10:10 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-09-27 14:46:42 +0200 |
commit | cbef37bd5bfb938a2303ee3887520c08be85d8e8 (patch) | |
tree | b604e49323e46af4ea582f9a9e1977b3daa90611 /src/range.cc | |
parent | b9f824effb037a53556e02955cace6c09ff646c3 (diff) |
Switch almost everything over to C++
Diffstat (limited to 'src/range.cc')
-rw-r--r-- | src/range.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/range.cc b/src/range.cc new file mode 100644 index 00000000..0cb21469 --- /dev/null +++ b/src/range.cc @@ -0,0 +1,9 @@ +#include "range.h" + +void range_init(range_type *range, s32b min, s32b max) +{ + assert(range != NULL); + + range->min = min; + range->max = max; +} |