mozglue.def.in 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. LIBRARY mozglue.dll
  5. EXPORTS
  6. #ifdef MOZ_MEMORY
  7. ; symbols that are actually useful
  8. #ifdef MOZ_REPLACE_MALLOC
  9. malloc=malloc_impl
  10. calloc=calloc_impl
  11. realloc=realloc_impl
  12. free=free_impl
  13. posix_memalign=posix_memalign_impl
  14. malloc_usable_size=malloc_usable_size_impl
  15. malloc_good_size=malloc_good_size_impl
  16. _aligned_free=free_impl
  17. #else
  18. malloc=je_malloc
  19. calloc=je_calloc
  20. realloc=je_realloc
  21. free=je_free
  22. posix_memalign=je_posix_memalign
  23. malloc_usable_size=je_malloc_usable_size
  24. malloc_good_size=je_malloc_good_size
  25. _aligned_free=je_free
  26. #endif
  27. _aligned_malloc
  28. strndup=wrap_strndup
  29. strdup=wrap_strdup
  30. _strdup=wrap_strdup
  31. wcsdup=wrap_wcsdup
  32. _wcsdup=wrap_wcsdup
  33. jemalloc_stats
  34. jemalloc_free_dirty_pages
  35. ; A hack to work around the CRT (see giant comment in Makefile.in)
  36. frex=dumb_free_thunk
  37. #endif