Revert "Update uuid C++ implementation"
This reverts commit 1cdb08a81a.
This commit is contained in:
@@ -24,11 +24,7 @@ struct WUUID {
|
|||||||
|
|
||||||
/* Low level UUID API */
|
/* Low level UUID API */
|
||||||
|
|
||||||
#ifdef WAPP_PLATFORM_CPP
|
|
||||||
#define wapp_uuid_create() (WUUID{wapp_str8_buf(UUID_BUF_LENGTH)})
|
|
||||||
#else
|
|
||||||
#define wapp_uuid_create() ((WUUID){.uuid = wapp_str8_buf(UUID_BUF_LENGTH)})
|
#define wapp_uuid_create() ((WUUID){.uuid = wapp_str8_buf(UUID_BUF_LENGTH)})
|
||||||
#endif
|
|
||||||
|
|
||||||
// Just returns the same pointer that was passed in with the UUID initialised.
|
// Just returns the same pointer that was passed in with the UUID initialised.
|
||||||
// Fails when passed a NULL pointer.
|
// Fails when passed a NULL pointer.
|
||||||
|
|||||||
Reference in New Issue
Block a user