X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d9a64523371fa019c4575bb400cbbc3a50ac9903..eb6b6ca394357805f2bdba989abae309f718b4d8:/libkern/libclosure/libclosuredata.c?ds=sidebyside diff --git a/libkern/libclosure/libclosuredata.c b/libkern/libclosure/libclosuredata.c index 27e906f31..c357b88f1 100644 --- a/libkern/libclosure/libclosuredata.c +++ b/libkern/libclosure/libclosuredata.c @@ -9,12 +9,12 @@ */ /******************** -NSBlock support - -We allocate space and export a symbol to be used as the Class for the on-stack and malloc'ed copies until ObjC arrives on the scene. These data areas are set up by Foundation to link in as real classes post facto. - -We keep these in a separate file so that we can include the runtime code in test subprojects but not include the data so that compiled code that sees the data in libSystem doesn't get confused by a second copy. Somehow these don't get unified in a common block. -**********************/ + * NSBlock support + * + * We allocate space and export a symbol to be used as the Class for the on-stack and malloc'ed copies until ObjC arrives on the scene. These data areas are set up by Foundation to link in as real classes post facto. + * + * We keep these in a separate file so that we can include the runtime code in test subprojects but not include the data so that compiled code that sees the data in libSystem doesn't get confused by a second copy. Somehow these don't get unified in a common block. + **********************/ void * _NSConcreteStackBlock[32] = { 0 }; void * _NSConcreteMallocBlock[32] = { 0 };