2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
1999-01-27 05:02:22 +03:00
|
|
|
|
|
|
|
/**
|
2000-06-03 13:46:12 +04:00
|
|
|
* XXX This file is obsolete. Use nsIMemory.idl or nsMemory.h instead.
|
1999-01-27 05:02:22 +03:00
|
|
|
*/
|
|
|
|
|
2000-06-03 13:46:12 +04:00
|
|
|
#ifndef nsIAllocator_h___
|
|
|
|
#define nsIAllocator_h___
|
1999-04-02 03:12:49 +04:00
|
|
|
|
2000-06-03 13:46:12 +04:00
|
|
|
#include "nsMemory.h"
|
1999-04-02 03:12:49 +04:00
|
|
|
|
2000-06-03 13:46:12 +04:00
|
|
|
#define nsIAllocator nsIMemory
|
|
|
|
#define nsAllocator nsMemory
|
|
|
|
#define GetGlobalAllocator GetGlobalMemoryService
|
1999-04-02 03:12:49 +04:00
|
|
|
|
2000-06-03 13:46:12 +04:00
|
|
|
#define NS_IALLOCATOR_IID NS_GET_IID(nsIMemory)
|
2001-10-26 04:09:22 +04:00
|
|
|
#define NS_ALLOCATOR_CONTRACTID NS_MEMORY_CONTRACTID
|
2000-06-03 13:46:12 +04:00
|
|
|
#define NS_ALLOCATOR_CID NS_MEMORY_CID
|
1999-01-27 05:02:22 +03:00
|
|
|
|
|
|
|
#endif /* nsIAllocator_h___ */
|