Remove text from asserts
This commit is contained in:
@@ -18,7 +18,7 @@ internal UUID4 generate_uuid4(void);
|
||||
internal void uuid4_to_uuid(const UUID4* uuid4, UUID *uuid);
|
||||
|
||||
UUID *wapp_uuid_init_uuid4(UUID *uuid) {
|
||||
assert(uuid != NULL && "uuid argument shouldn't be NULL");
|
||||
assert(uuid != NULL);
|
||||
|
||||
UUID4 uuid4 = generate_uuid4();
|
||||
uuid4_to_uuid(&uuid4, uuid);
|
||||
|
||||
@@ -21,7 +21,7 @@ struct uuid {
|
||||
#define wapp_uuid_create() ((UUID){.uuid = wapp_str8_buf(UUID_BUF_LENGTH)})
|
||||
|
||||
// Just returns the same pointer that was passed in with the UUID initialised.
|
||||
// If the pointer is NULL, it skips initialisation.
|
||||
// Fails when passed a NULL pointer.
|
||||
UUID *wapp_uuid_init_uuid4(UUID *uuid);
|
||||
|
||||
#endif // !UUID_H
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define WAPP_UUID_C
|
||||
|
||||
#include "uuid.c"
|
||||
#include "../core/wapp_core.c"
|
||||
#include "../primitives/wapp_primitives.c"
|
||||
#include "../prng/wapp_prng.c"
|
||||
|
||||
#endif // !WAPP_UUID_C
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "uuid.h"
|
||||
#include "../common/wapp_common.h"
|
||||
#include "../core/wapp_core.h"
|
||||
#include "../primitives/wapp_primitives.h"
|
||||
#include "../prng/wapp_prng.h"
|
||||
|
||||
#endif // !WAPP_UUID_H
|
||||
|
||||
Reference in New Issue
Block a user