Commit 4fc31832 authored by Marius Wachtler's avatar Marius Wachtler

Fix compile error: inline function 'gc_free' is not defined

parent 6a6d049c
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
namespace pyston { namespace pyston {
namespace gc { namespace gc {
extern "C" inline void* gc_alloc(size_t bytes, GCKind kind_id) __attribute__((visibility("default"))); extern "C" void* gc_alloc(size_t bytes, GCKind kind_id) __attribute__((visibility("default")));
extern "C" inline void* gc_realloc(void* ptr, size_t bytes) __attribute__((visibility("default"))); extern "C" void* gc_realloc(void* ptr, size_t bytes) __attribute__((visibility("default")));
extern "C" inline void gc_free(void* ptr) __attribute__((visibility("default"))); extern "C" void gc_free(void* ptr) __attribute__((visibility("default")));
} }
template <class T> class StlCompatAllocator { template <class T> class StlCompatAllocator {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment