Bug 697085 - Link to Mac malloc header in memory/jemalloc/osx_zone_types.h. DONTBUILD r=gerv
authorJustin Lebar <justin.lebar@gmail.com>
Sun, 20 Nov 2011 21:19:00 -0500
changeset 80542 f3be04c268c9a70f9daaed3359fcd285c2b2b768
parent 80541 85b2ee76f2c3d18e80b358d23dcd1ee9b59327bc
child 80543 b916adaa2d46b63e7af4481a67a5a28b0af6862e
push idunknown
push userunknown
push dateunknown
reviewersgerv
bugs697085
milestone11.0a1
Bug 697085 - Link to Mac malloc header in memory/jemalloc/osx_zone_types.h. DONTBUILD r=gerv
memory/jemalloc/osx_zone_types.h
--- a/memory/jemalloc/osx_zone_types.h
+++ b/memory/jemalloc/osx_zone_types.h
@@ -36,16 +36,22 @@
  * We need access to some structs that come with a specific version of OSX 
  * but can't copy them here because of licensing restrictions (see bug
  * 603655). The structs below are equivalent in that they'll always be
  * compiled to the same representation on all platforms.
  *
  * `void*` and `void (*)()` may not be the same size on weird platforms, but
  * the size of a function pointer shouldn't vary according to its parameters
  * or return type.
+ *
+ * Apple's version of these structures, complete with member names and
+ * comments, is available online at
+ *
+ * http://www.opensource.apple.com/source/Libc/Libc-763.12/include/malloc/malloc.h
+ *
  */
 
 /*
  * OSX 10.5 - Leopard
  */
 typedef struct _leopard_malloc_zone {
  	void *m1;
 	void *m2;