mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
25eda66c1a
As long as symbols have the right declspec, the linker is going to export them as expected. The main exception to when we actually need the exported symbol to have a different name, which is the case for the symbols normally exported by the CRT. So keep only those renamed symbols in mozglue.def.in. Keeping the jemalloc symbols in this file kind of implies that we need every new API entry points to appear in there when it's not true. This thus removes an unnecessary moving part when adding new allocator API entry points. --HG-- extra : rebase_source : 76faa659d62d46f3624fe3f1df0c09beb68e3549
25 lines
633 B
Modula-2
25 lines
633 B
Modula-2
; 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/.
|
|
|
|
LIBRARY mozglue.dll
|
|
|
|
EXPORTS
|
|
#ifdef MOZ_MEMORY
|
|
; symbols that are actually useful
|
|
malloc=je_malloc
|
|
calloc=je_calloc
|
|
realloc=je_realloc
|
|
free=je_free
|
|
posix_memalign=je_posix_memalign
|
|
malloc_usable_size=je_malloc_usable_size
|
|
malloc_good_size=je_malloc_good_size
|
|
_aligned_free=je_free
|
|
_aligned_malloc
|
|
strndup=wrap_strndup
|
|
strdup=wrap_strdup
|
|
_strdup=wrap_strdup
|
|
wcsdup=wrap_wcsdup
|
|
_wcsdup=wrap_wcsdup
|
|
#endif
|