2012-05-21 15:12:37 +04:00
|
|
|
; This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-06-27 23:44:51 +04:00
|
|
|
|
2011-12-28 11:24:02 +04:00
|
|
|
LIBRARY mozglue.dll
|
2011-06-27 23:44:51 +04:00
|
|
|
|
|
|
|
EXPORTS
|
2011-09-03 10:19:06 +04:00
|
|
|
#ifdef MOZ_MEMORY
|
2011-06-27 23:44:51 +04:00
|
|
|
; symbols that are actually useful
|
2012-12-07 12:32:24 +04:00
|
|
|
#ifdef MOZ_REPLACE_MALLOC
|
|
|
|
malloc=malloc_impl
|
|
|
|
calloc=calloc_impl
|
|
|
|
realloc=realloc_impl
|
|
|
|
free=free_impl
|
|
|
|
posix_memalign=posix_memalign_impl
|
|
|
|
malloc_usable_size=malloc_usable_size_impl
|
|
|
|
malloc_good_size=malloc_good_size_impl
|
|
|
|
#else
|
2011-06-27 23:44:51 +04:00
|
|
|
malloc=je_malloc
|
|
|
|
calloc=je_calloc
|
|
|
|
realloc=je_realloc
|
|
|
|
free=je_free
|
|
|
|
posix_memalign=je_posix_memalign
|
|
|
|
malloc_usable_size=je_malloc_usable_size
|
2012-12-07 12:32:24 +04:00
|
|
|
malloc_good_size=je_malloc_good_size
|
2012-12-07 12:32:24 +04:00
|
|
|
#endif
|
2012-12-07 12:32:24 +04:00
|
|
|
strndup=wrap_strndup
|
|
|
|
strdup=wrap_strdup
|
|
|
|
_strdup=wrap_strdup
|
|
|
|
wcsdup=wrap_wcsdup
|
|
|
|
_wcsdup=wrap_wcsdup
|
2011-06-27 23:44:51 +04:00
|
|
|
jemalloc_stats
|
2012-11-08 23:06:50 +04:00
|
|
|
jemalloc_free_dirty_pages
|
2011-06-27 23:44:51 +04:00
|
|
|
; A hack to work around the CRT (see giant comment in Makefile.in)
|
2012-12-07 12:32:24 +04:00
|
|
|
frex=dumb_free_thunk
|
2011-09-03 10:19:06 +04:00
|
|
|
#endif
|