REFACTOR: Completely redid push_back and create
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
#include <utils.h>
|
||||
|
||||
const char* error_messages[] = {
|
||||
[ERR_ALLOC_FAIL] = "Calloc :- Failed to allocate",
|
||||
[ERR_BUF_NULL] = "Buffer :- NULL",
|
||||
[ERR_BAD_TYPE] = "Type :- Does not match vector type",
|
||||
[ERR_INVALID_SIZE] = "Size :- Size is 0 or invalid",
|
||||
[ERR_VECTOR_NULL] = "Vector :- Given vector is null",
|
||||
[ERR_MAX_PASSED] = "Max :- Vector Max value is overloaded",
|
||||
// [ERR_CREATION_FAIL] = "Buffer creation failed",
|
||||
// [ERR_MALLOC_NULL] = "Malloc Failed to allocate",
|
||||
};
|
||||
Reference in New Issue
Block a user