MatrixSSL 4.0.0

This commit is contained in:
Janne Johansson
2018-09-13 12:17:26 +03:00
parent 83bff65b84
commit d0a51a7e43
545 changed files with 99407 additions and 19214 deletions

View File

@@ -0,0 +1,21 @@
/* Provide this file via EXTRA_CFLAGS to compilation. */
#ifndef WRAP_MALLOC_H_DEFINED
#define WRAP_MALLOC_H_DEFINED 1
#include <stddef.h>
void *myMalloc(size_t size);
void myFree(void *ptr);
void *myCalloc(size_t nmemb, size_t size);
void *myRealloc(void *ptr, size_t size);
#ifdef Malloc
#error "Malloc is already defined!"
#endif
#define Malloc myMalloc
#define Free myFree
#define Calloc myCalloc
#define Realloc myRealloc
#endif /* WRAP_MALLOC_H_DEFINED */