/usr/include/CLucene/StdHeader.h is in libclucene-dev 2.3.3.4+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | /*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
------------------------------------------------------------------------------*/
#ifndef lucene_stdheader_h
#define lucene_stdheader_h
/**
* This header contains public distributed code that needs to be included *before*
* any clucene-core code is included. It also uses the clucene-shared header
* which contains platform specific code configured by cmake.
*/
//configurations for library
#include "CLucene/CLConfig.h"
//shared header
#include "CLucene/SharedHeader.h"
//error handling macros/functions
#include "CLucene/debug/error.h"
//todo: would be good to deprecate this... it's ugly
#define StringArrayWithDeletor CL_NS(util)::CLVector<TCHAR*, CL_NS(util)::Deletor::tcArray >
#define StringArray std::vector<TCHAR*>
#define StringArrayWithDeletor CL_NS(util)::CLVector<TCHAR*, CL_NS(util)::Deletor::tcArray >
#define StringArrayConst std::vector<const TCHAR*>
//#define StringArrayConstWithDeletor CL_NS(util)::CLVector<const TCHAR*, CL_NS(util)::Deletor::tcArray >
#define AStringArray std::vector<char*>
#define AStringArrayWithDeletor CL_NS(util)::CLVector<char*, CL_NS(util)::Deletor::acArray >
#define AStringArrayConst std::vector<const char*>
//#define AStringArrayConstWithDeletor CL_NS(util)::CLVector<const char*, CL_NS(util)::Deletor::acArray >
//call this at the end of running to clean up memory.
extern CLUCENE_EXPORT void _lucene_shutdown();
#endif // lucene_apiheader_h
|