2001-05-23 15:26:42 +02:00
|
|
|
//____________________________________________________________
|
|
|
|
//
|
|
|
|
// PROGRAM: Alice (All Else) Utility
|
|
|
|
// MODULE: all.cpp
|
|
|
|
// DESCRIPTION: Block allocator
|
|
|
|
//
|
|
|
|
// The contents of this file are subject to the Interbase Public
|
|
|
|
// License Version 1.0 (the "License"); you may not use this file
|
|
|
|
// except in compliance with the License. You may obtain a copy
|
|
|
|
// of the License at http://www.Inprise.com/IPL.html
|
|
|
|
//
|
|
|
|
// Software distributed under the License is distributed on an
|
|
|
|
// "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
// or implied. See the License for the specific language governing
|
|
|
|
// rights and limitations under the License.
|
|
|
|
//
|
|
|
|
// The Original Code was created by Inprise Corporation
|
|
|
|
// and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
// Copyright (C) Inprise Corporation.
|
|
|
|
//
|
|
|
|
// All Rights Reserved.
|
|
|
|
// Contributor(s): ______________________________________.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//____________________________________________________________
|
|
|
|
//
|
2004-09-01 16:51:33 +02:00
|
|
|
// $Id: all.cpp,v 1.29 2004-09-01 14:51:33 alexpeshkoff Exp $
|
2001-05-23 15:26:42 +02:00
|
|
|
//
|
|
|
|
|
2002-12-16 16:16:32 +01:00
|
|
|
#include "firebird.h"
|
2004-05-15 02:58:46 +02:00
|
|
|
#include "../jrd/common.h"
|
2003-12-14 19:26:25 +01:00
|
|
|
#include "../alice/all.h"
|
2001-12-24 03:51:06 +01:00
|
|
|
#include "../alice/alice.h"
|
2004-06-08 15:41:08 +02:00
|
|
|
#include "../jrd/thd.h"
|
2003-01-16 18:47:10 +01:00
|
|
|
#include "../common/classes/alloc.h"
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-08-30 20:11:08 +02:00
|
|
|
AliceMemoryPool* AliceMemoryPool::createPool() {
|
|
|
|
AliceMemoryPool* result = (AliceMemoryPool*)internal_create(sizeof(AliceMemoryPool));
|
|
|
|
return result;
|
|
|
|
}
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-03-19 07:14:53 +01:00
|
|
|
void AliceMemoryPool::deletePool(AliceMemoryPool* pool)
|
|
|
|
{
|
2003-01-16 18:47:10 +01:00
|
|
|
MemoryPool::deletePool(pool);
|
2001-05-23 15:26:42 +02:00
|
|
|
}
|