summaryrefslogtreecommitdiffstats
path: root/third_party/apple_apsl/README.chromium
blob: b2d1ca914765f07dde02c66edc4858fb14f33f66 (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
33
34
35
36
37
38
39
40
41
42
43
Name: Darwin
URL: http://www.opensource.apple.com/
Version: unknown
Security Critical: yes

Four 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 ChromeCFAllocator9and10 to avoid possible name
  conflicts.
- Added a presumed definition of ChromeCFAllocator11.

cssmapplePriv.h from:
http://www.opensource.apple.com/source/libsecurity_cssm/libsecurity_cssm-31536/lib/cssmapplePriv.h

Modifications:
- Removed unneeded definitions for internal Apple CSP DL enums and structs
- Added a comment explaining its usage