lyx_mirror/src/frontends/gtk/codeConvert.h
Angus Leeming e28225d79a Anal policing of header blurbs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7639 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 17:02:32 +00:00

37 lines
629 B
C++

// -*- C++ -*-
/**
* \file codeConvert.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Huang Ying
*
* Full author contact details are available in file CREDITS.
*/
#ifndef CODE_CONVERT_H
#define CODE_CONVERT_H
#include <X11/Xft/Xft.h>
inline FcChar32 * wcsToFcChar32StrFast(wchar_t * wcs)
{
return reinterpret_cast<FcChar32*>(wcs);
}
inline FcChar32 const * wcsToFcChar32StrFast(wchar_t const * wcs)
{
return reinterpret_cast<FcChar32 const *>(wcs);
}
inline FcChar32 wcToFcChar32(wchar_t wc)
{
return static_cast<FcChar32>(wc);
}
#endif