diff options
Diffstat (limited to '')
| -rw-r--r-- | src/uuid.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/uuid.cpp b/src/uuid.cpp new file mode 100644 index 0000000..8a30e2a --- /dev/null +++ b/src/uuid.cpp | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | #include "bu/uuid.h" | ||
| 2 | |||
| 3 | Bu::Uuid::Uuid() | ||
| 4 | { | ||
| 5 | clear(); | ||
| 6 | } | ||
| 7 | |||
| 8 | Bu::Uuid::~Uuid() | ||
| 9 | { | ||
| 10 | } | ||
| 11 | |||
| 12 | #define msb( i ) (1<<(7-i)) | ||
| 13 | |||
| 14 | void Bu::Uuid::clear() | ||
| 15 | { | ||
| 16 | data[7] = msb(0); | ||
| 17 | } | ||
| 18 | |||
