1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mozglue/build/mozglue.def.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +; This Source Code Form is subject to the terms of the Mozilla Public 1.5 +; License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +; file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +LIBRARY mozglue.dll 1.9 + 1.10 +EXPORTS 1.11 +#ifdef MOZ_MEMORY 1.12 + ; symbols that are actually useful 1.13 +#ifdef MOZ_REPLACE_MALLOC 1.14 + malloc=malloc_impl 1.15 + calloc=calloc_impl 1.16 + realloc=realloc_impl 1.17 + free=free_impl 1.18 + posix_memalign=posix_memalign_impl 1.19 + malloc_usable_size=malloc_usable_size_impl 1.20 + malloc_good_size=malloc_good_size_impl 1.21 +#else 1.22 + malloc=je_malloc 1.23 + calloc=je_calloc 1.24 + realloc=je_realloc 1.25 + free=je_free 1.26 + posix_memalign=je_posix_memalign 1.27 + malloc_usable_size=je_malloc_usable_size 1.28 + malloc_good_size=je_malloc_good_size 1.29 +#endif 1.30 + strndup=wrap_strndup 1.31 + strdup=wrap_strdup 1.32 + _strdup=wrap_strdup 1.33 + wcsdup=wrap_wcsdup 1.34 + _wcsdup=wrap_wcsdup 1.35 + jemalloc_stats 1.36 + jemalloc_free_dirty_pages 1.37 + ; A hack to work around the CRT (see giant comment in Makefile.in) 1.38 + frex=dumb_free_thunk 1.39 +#endif