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

Loading...
Searching...
No Matches
LuceneAllocator.h
Go to the documentation of this file.
1
2// 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
15LPPAPI void* AllocMemory(size_t size);
16
18LPPAPI void* ReallocMemory(void* memory, size_t size);
19
21LPPAPI void FreeMemory(void* memory);
22}
23
24#endif
Lucene
Definition AbstractAllTermDocs.h:12
Lucene::AllocMemory
LPPAPI void * AllocMemory(size_t size)
Allocate block of memory.
Lucene::ReallocMemory
LPPAPI void * ReallocMemory(void *memory, size_t size)
Reallocate a given block of memory.
Lucene::FreeMemory
LPPAPI void FreeMemory(void *memory)
Release a given block of memory.

clucene.sourceforge.net