mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
17 lines
296 B
C++
17 lines
296 B
C++
#include "crucible/uuid.h"
|
|
|
|
namespace crucible {
|
|
using namespace std;
|
|
|
|
const size_t uuid_unparsed_size = 37; // "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\0"
|
|
|
|
string
|
|
uuid_unparse(const unsigned char in[16])
|
|
{
|
|
char out[uuid_unparsed_size];
|
|
::uuid_unparse(in, out);
|
|
return string(out);
|
|
}
|
|
|
|
}
|