Changeset 50204 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- Oct 28, 2009, 3:14:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/FastMalloc.h
r48976 r50204 27 27 #include <new> 28 28 29 #if COMPILER(GCC) 30 #define WTF_FAST_MALLOC_EXPORT __attribute__((visibility("default"))) 31 #else 32 #define WTF_FAST_MALLOC_EXPORT 33 #endif 34 29 35 namespace WTF { 30 36 31 37 // These functions call CRASH() if an allocation fails. 32 void* fastMalloc(size_t) ;38 void* fastMalloc(size_t) WTF_FAST_MALLOC_EXPORT; 33 39 void* fastZeroedMalloc(size_t); 34 void* fastCalloc(size_t numElements, size_t elementSize) ;35 void* fastRealloc(void*, size_t) ;40 void* fastCalloc(size_t numElements, size_t elementSize) WTF_FAST_MALLOC_EXPORT; 41 void* fastRealloc(void*, size_t) WTF_FAST_MALLOC_EXPORT; 36 42 37 43 struct TryMallocReturnValue { … … 72 78 TryMallocReturnValue tryFastRealloc(void* p, size_t n); 73 79 74 void fastFree(void*) ;80 void fastFree(void*) WTF_FAST_MALLOC_EXPORT; 75 81 76 82 #ifndef NDEBUG
Note:
See TracChangeset
for help on using the changeset viewer.