Bug 959405 - Please update the Buri Moz-central, 1.3, 1.2 with the latest blobs from...
[gecko.git] / xpcom / base / nsIAllocator.h
blobb68498106f8be1bbcb230dee1b906e4f636ae461
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 /**
7 * XXX This file is obsolete. Use nsIMemory.idl or nsMemory.h instead.
8 */
10 #ifndef nsIAllocator_h___
11 #define nsIAllocator_h___
13 #include "nsMemory.h"
15 #define nsIAllocator nsIMemory
16 #define nsAllocator nsMemory
17 #define GetGlobalAllocator GetGlobalMemoryService
19 #define NS_IALLOCATOR_IID NS_GET_IID(nsIMemory)
20 #define NS_ALLOCATOR_CONTRACTID NS_MEMORY_CONTRACTID
21 #define NS_ALLOCATOR_CID NS_MEMORY_CID
23 #endif /* nsIAllocator_h___ */