| Index: src/allocation.h
|
| diff --git a/src/allocation.h b/src/allocation.h
|
| index a92b71f08ef8a1967c0cd54777cebf961e4235c0..8581cc9e9d75679aaaa78e43eecba859aa5eaf86 100644
|
| --- a/src/allocation.h
|
| +++ b/src/allocation.h
|
| @@ -13,10 +13,10 @@ namespace internal {
|
| // Called when allocation routines fail to allocate.
|
| // This function should not return, but should terminate the current
|
| // processing.
|
| -V8_EXPORT_PRIVATE void FatalProcessOutOfMemory(const char* message);
|
| +void FatalProcessOutOfMemory(const char* message);
|
|
|
| // Superclass for classes managed with new & delete.
|
| -class V8_EXPORT_PRIVATE Malloced {
|
| +class Malloced {
|
| public:
|
| void* operator new(size_t size) { return New(size); }
|
| void operator delete(void* p) { Delete(p); }
|
| @@ -72,7 +72,7 @@ void DeleteArray(T* array) {
|
| // The normal strdup functions use malloc. These versions of StrDup
|
| // and StrNDup uses new and calls the FatalProcessOutOfMemory handler
|
| // if allocation fails.
|
| -V8_EXPORT_PRIVATE char* StrDup(const char* str);
|
| +char* StrDup(const char* str);
|
| char* StrNDup(const char* str, int n);
|
|
|
|
|
|
|