516c0c73b9
current compilers have several bugs associated with it We use the simpler __thread (gcc and clang) and __declspec(thread) (visual studio).
15 lines
335 B
C++
15 lines
335 B
C++
/*
|
|
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
Author: Leonardo de Moura
|
|
*/
|
|
#pragma once
|
|
#include <cstdlib>
|
|
|
|
namespace lean {
|
|
size_t get_allocated_memory();
|
|
void * malloc(size_t sz);
|
|
void * realloc(void * ptr, size_t sz);
|
|
void free(void * ptr);
|
|
}
|