#ifndef SIMPLICITY_SIMPLICITY_ALLOC_H
#define SIMPLICITY_SIMPLICITY_ALLOC_H
#include <stdlib.h>
/* Declare Rust functions so the compiler can handle them.
* The linker will include the functions from Rust.
*/
extern void* rust_0_6_malloc(size_t size);
extern void* rust_0_6_calloc(size_t num, size_t size);
extern void rust_0_6_free(void* ptr);
/* Allocate with rust_0_6_malloc. */
#define rustsimplicity_0_6_malloc rust_0_6_malloc
/* Allocate+zero initialize with rust_0_6_calloc. */
#define rustsimplicity_0_6_calloc rust_0_6_calloc
/* Deallocate with rust_0_6_free. */
#define rustsimplicity_0_6_free rust_0_6_free
#endif /* SIMPLICITY_SIMPLICITY_ALLOC_H */