Created pal_consts.h. New exported functions are now prefixed with "snmalloc_".

This commit is contained in:
rschust
2019-04-09 13:35:13 +01:00
committed by David Chisnall
parent f0d18760fe
commit 71900ef947
4 changed files with 47 additions and 36 deletions

View File

@@ -1,5 +1,12 @@
#pragma once
#include "pal_consts.h"
namespace snmalloc
{
void error(const char* const str);
}
// If simultating OE, then we need the underlying platform
#if !defined(OPEN_ENCLAVE) || defined(OPEN_ENCLAVE_SIMULATION)
# include "pal_apple.h"