| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 typedef void* NoAllocationObject; | 268 typedef void* NoAllocationObject; |
| 269 static inline NoAllocationObject startNoAllocation() { return 0; } | 269 static inline NoAllocationObject startNoAllocation() { return 0; } |
| 270 static inline void endNoAllocation(NoAllocationObject scope) { } | 270 static inline void endNoAllocation(NoAllocationObject scope) { } |
| 271 | 271 |
| 272 typedef void Visitor; | 272 typedef void Visitor; |
| 273 | 273 |
| 274 template<typename T> | 274 template<typename T> |
| 275 class IteratorWitness { | 275 class IteratorWitness { |
| 276 public: | 276 public: |
| 277 typedef int Type; | 277 typedef int Type; |
| 278 inline static void verify(Type witness, const T* collection) { } | 278 inline static void verifyWitness(Type witness, const T* collection)
{ } |
| 279 }; | 279 }; |
| 280 typedef int DefaultArgument; | 280 typedef int DefaultArgument; |
| 281 }; | 281 }; |
| 282 | 282 |
| 283 } // namespace WTF | 283 } // namespace WTF |
| 284 | 284 |
| 285 using WTF::fastCalloc; | 285 using WTF::fastCalloc; |
| 286 using WTF::fastFree; | 286 using WTF::fastFree; |
| 287 using WTF::fastMalloc; | 287 using WTF::fastMalloc; |
| 288 using WTF::fastMallocGoodSize; | 288 using WTF::fastMallocGoodSize; |
| 289 using WTF::fastMallocSize; | 289 using WTF::fastMallocSize; |
| 290 using WTF::fastRealloc; | 290 using WTF::fastRealloc; |
| 291 using WTF::fastStrDup; | 291 using WTF::fastStrDup; |
| 292 using WTF::fastZeroedMalloc; | 292 using WTF::fastZeroedMalloc; |
| 293 using WTF::tryFastCalloc; | 293 using WTF::tryFastCalloc; |
| 294 using WTF::tryFastMalloc; | 294 using WTF::tryFastMalloc; |
| 295 using WTF::tryFastRealloc; | 295 using WTF::tryFastRealloc; |
| 296 using WTF::tryFastZeroedMalloc; | 296 using WTF::tryFastZeroedMalloc; |
| 297 | 297 |
| 298 #ifndef NDEBUG | 298 #ifndef NDEBUG |
| 299 using WTF::fastMallocForbid; | 299 using WTF::fastMallocForbid; |
| 300 using WTF::fastMallocAllow; | 300 using WTF::fastMallocAllow; |
| 301 #endif | 301 #endif |
| 302 | 302 |
| 303 #endif /* WTF_FastMalloc_h */ | 303 #endif /* WTF_FastMalloc_h */ |
| OLD | NEW |