|
1 ; This Source Code Form is subject to the terms of the Mozilla Public |
|
2 ; License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 ; file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 LIBRARY mozglue.dll |
|
6 |
|
7 EXPORTS |
|
8 #ifdef MOZ_MEMORY |
|
9 ; symbols that are actually useful |
|
10 #ifdef MOZ_REPLACE_MALLOC |
|
11 malloc=malloc_impl |
|
12 calloc=calloc_impl |
|
13 realloc=realloc_impl |
|
14 free=free_impl |
|
15 posix_memalign=posix_memalign_impl |
|
16 malloc_usable_size=malloc_usable_size_impl |
|
17 malloc_good_size=malloc_good_size_impl |
|
18 #else |
|
19 malloc=je_malloc |
|
20 calloc=je_calloc |
|
21 realloc=je_realloc |
|
22 free=je_free |
|
23 posix_memalign=je_posix_memalign |
|
24 malloc_usable_size=je_malloc_usable_size |
|
25 malloc_good_size=je_malloc_good_size |
|
26 #endif |
|
27 strndup=wrap_strndup |
|
28 strdup=wrap_strdup |
|
29 _strdup=wrap_strdup |
|
30 wcsdup=wrap_wcsdup |
|
31 _wcsdup=wrap_wcsdup |
|
32 jemalloc_stats |
|
33 jemalloc_free_dirty_pages |
|
34 ; A hack to work around the CRT (see giant comment in Makefile.in) |
|
35 frex=dumb_free_thunk |
|
36 #endif |