michael@0: ; This Source Code Form is subject to the terms of the Mozilla Public michael@0: ; License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: ; file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: LIBRARY mozglue.dll michael@0: michael@0: EXPORTS michael@0: #ifdef MOZ_MEMORY michael@0: ; symbols that are actually useful michael@0: #ifdef MOZ_REPLACE_MALLOC michael@0: malloc=malloc_impl michael@0: calloc=calloc_impl michael@0: realloc=realloc_impl michael@0: free=free_impl michael@0: posix_memalign=posix_memalign_impl michael@0: malloc_usable_size=malloc_usable_size_impl michael@0: malloc_good_size=malloc_good_size_impl michael@0: #else michael@0: malloc=je_malloc michael@0: calloc=je_calloc michael@0: realloc=je_realloc michael@0: free=je_free michael@0: posix_memalign=je_posix_memalign michael@0: malloc_usable_size=je_malloc_usable_size michael@0: malloc_good_size=je_malloc_good_size michael@0: #endif michael@0: strndup=wrap_strndup michael@0: strdup=wrap_strdup michael@0: _strdup=wrap_strdup michael@0: wcsdup=wrap_wcsdup michael@0: _wcsdup=wrap_wcsdup michael@0: jemalloc_stats michael@0: jemalloc_free_dirty_pages michael@0: ; A hack to work around the CRT (see giant comment in Makefile.in) michael@0: frex=dumb_free_thunk michael@0: #endif