mozglue/build/mozglue.def.in
author Josh Aas <joshmoz@gmail.com>
Tue, 25 Mar 2014 15:27:12 -0500
changeset 175277 8a7b41d26e66827903780090e1c77cfd3d673bd1
parent 115335 201c9e6f8f18ea164f8c48e7985dfb6fa88e9ba7
child 224604 93f526d85b47667c6f3721294fffcd1e9d09b224
permissions -rw-r--r--
Bug 987923: Add autorelease pool locally in GetTempDir on OS X, and also to non-main-thread event loop. r=smichaud,bent

; 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
#ifdef MOZ_REPLACE_MALLOC
  malloc=malloc_impl
  calloc=calloc_impl
  realloc=realloc_impl
  free=free_impl
  posix_memalign=posix_memalign_impl
  malloc_usable_size=malloc_usable_size_impl
  malloc_good_size=malloc_good_size_impl
#else
  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
#endif
  strndup=wrap_strndup
  strdup=wrap_strdup
  _strdup=wrap_strdup
  wcsdup=wrap_wcsdup
  _wcsdup=wrap_wcsdup
  jemalloc_stats
  jemalloc_free_dirty_pages
  ; A hack to work around the CRT (see giant comment in Makefile.in)
  frex=dumb_free_thunk
#endif