Go to the documentation of this file.
31 #define ERROR_CHECK(F) if ((F) == RETS_ERROR) return RETS_ERROR
83 void*
smart_realloc(
void* source, uint8_t length,
size_t size);
90 void itoa(
char* buffer, uintmax_t source);
91 void dtoa(
char* buffer, uint8_t length,
double source);
char * string_to_lower(const char *string)
Converts a string to lowercase.
error_identifier identifier
void smart_free_all(void)
Frees all pointers.
void ** allocated_pointers
void smart_free(void *pointer)
Frees a pointer.
bool smart_alloc_is_recording
void set_handle_unrecoverable_error(error_domain domain, error_identifier identifier, const char *body)
Handles severe and unrecoverable errors.
void * smart_alloc(uint8_t length, size_t size)
Allocates and keeps track of memory.
void itoa(char *buffer, uintmax_t source)
void * smart_realloc(void *source, uint8_t length, size_t size)
Resizes a pointer.
double uintmax_max_value(void)
uint8_t set_error(error_domain domain, error_identifier identifier, const char *body)
Sets current_error to the arguments provided.
void dtoa(char *buffer, uint8_t length, double source)