Lucene++ - a full-featured, c++ search engine
API Documentation


LuceneAllocator.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6 
7 #ifndef ALLOCATOR_H
8 #define ALLOCATOR_H
9 
10 #include "Config.h"
11 
12 namespace Lucene {
13 
15 LPPAPI void* AllocMemory(size_t size);
16 
18 LPPAPI void* ReallocMemory(void* memory, size_t size);
19 
21 LPPAPI void FreeMemory(void* memory);
22 }
23 
24 #endif
LPPAPI void * AllocMemory(size_t size)
Allocate block of memory.
LPPAPI void FreeMemory(void *memory)
Release a given block of memory.
LPPAPI void * ReallocMemory(void *memory, size_t size)
Reallocate a given block of memory.
Definition: AbstractAllTermDocs.h:12

clucene.sourceforge.net