projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442a46c
)
Add declaration for allocm
author
Tudor Bosman
<tudorb@fb.com>
Fri, 27 Sep 2013 00:19:01 +0000
(17:19 -0700)
committer
Peter Griess
<pgriess@fb.com>
Tue, 15 Oct 2013 01:44:07 +0000
(18:44 -0700)
Test Plan: compiled
Reviewed By: lucian@fb.com
FB internal diff:
D986998
folly/Malloc.h
patch
|
blob
|
history
diff --git
a/folly/Malloc.h
b/folly/Malloc.h
index e10c8255e092f653f9eff340019fa0d6153bc550..94a172b3bdc2552ee5fd3b8b766536e15f6811d0 100644
(file)
--- a/
folly/Malloc.h
+++ b/
folly/Malloc.h
@@
-82,6
+82,7
@@
namespace folly {
#if defined(JEMALLOC_MANGLE) && defined(JEMALLOC_EXPERIMENTAL)
#define rallocm je_rallocm
+#define allocm je_allocm
#endif
#endif /* ALLOCM_SUCCESS */
@@
-93,6
+94,8
@@
namespace folly {
*/
extern "C" int rallocm(void**, size_t*, size_t, size_t, int)
__attribute__((weak));
+extern "C" int allocm(void**, size_t*, size_t, int)
+__attribute__((weak));
#ifdef _LIBSTDCXX_FBSTRING
namespace std _GLIBCXX_VISIBILITY(default) {