changing the name back does not reintroduce the problem, how fun
diff --git a/memdbg.py b/memdbg.py
index fa1adf6..e30b68c 100644
--- a/memdbg.py
+++ b/memdbg.py
@@ -43,7 +43,7 @@
@_ffi.callback("void*(*)(size_t)")
-def _pymalloc(n):
+def malloc(n):
memory = C.malloc(n)
python_stack = traceback.extract_stack(limit=3)
c_stack = _backtrace()
@@ -53,7 +53,7 @@
@_ffi.callback("void*(*)(void*, size_t)")
-def _pyrealloc(p, n):
+def realloc(p, n):
memory = C.realloc(p, n)
old = heap.pop(p)
@@ -67,14 +67,14 @@
@_ffi.callback("void(*)(void*)")
-def _pyfree(p):
+def free(p):
if p != _ffi.NULL:
C.free(p)
del heap[p]
log("free(0x%x)" % (int(_ffi.cast("int", p)),))
-if _api.CRYPTO_set_mem_functions(_pymalloc, _pyrealloc, _pyfree):
+if _api.CRYPTO_set_mem_functions(malloc, realloc, free):
print 'Enabled memory debugging'
heap = {}
else: