summaryrefslogtreecommitdiffstats
path: root/third_party/apple_apsl/README.chromium
blob: 44077b96f80bc2ccdbf5fb02cd7b98d15ea0a20d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Name: Darwin
URL: http://www.opensource.apple.com/

Three files are excerpted here:

malloc.h from:
http://www.opensource.apple.com/source/Libc/Libc-583/include/malloc/malloc.h

Modifications:
- Modified #ifdef guards.
- Removed everything but the definition of malloc_zone_t.
- Renamed _malloc_zone_t to ChromeMallocZone to avoid possible name conflicts.
- Added a few comments.

CFRuntime.h from:
http://www.opensource.apple.com/source/CF/CF-550/CFRuntime.h

Modifications:
- Modified #ifdef guards.
- Removed everything but the definition of CFRuntimeBase.
- Renamed CFRuntimeBase to ChromeCFRuntimeBase to avoid possible name conflicts.

CFBase.h from:
http://opensource.apple.com/source/CF/CF-550/CFBase.c

Modifications:
- Renamed the file to CFBase.h.
- Added #ifdef guards.
- Added an #include of the CFRuntime.h file.
- Removed everything but the definition of __CFAllocator.
- Modified the reference of CFRuntimeBase to ChromeCFRuntimeBase.
- Renamed __CFAllocator to ChromeCFAllocator to avoid possible name conflicts.