projects
/
iotcloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
edits
[iotcloud.git]
/
version2
/
src
/
C
/
array.h
diff --git
a/version2/src/C/array.h
b/version2/src/C/array.h
index 274982212aac4190fe5fec2bb85a8833635a113b..3126238e2c9a811c369aa8df4505173ce21c40f3 100644
(file)
--- a/
version2/src/C/array.h
+++ b/
version2/src/C/array.h
@@
-1,5
+1,8
@@
#ifndef ARRAY_H
#define ARRAY_H
+#include <inttypes.h>
+
+typedef uint32_t uint;
template<typename type>
class Array {
@@
-9,7
+12,7
@@
class Array {
size(0) {
}
- Array(uint _size) :
+ Array(uint
32_t
_size) :
array((type *) ourcalloc(1, sizeof(type) * _size)),
size(_size)
{