4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
12 #ifndef CODE_CONVERT_H
13 #define CODE_CONVERT_H
15 #include <X11/Xft/Xft.h>
18 inline FcChar32 * wcsToFcChar32StrFast(wchar_t * wcs)
20 return reinterpret_cast<FcChar32*>(wcs);
24 inline FcChar32 const * wcsToFcChar32StrFast(wchar_t const * wcs)
26 return reinterpret_cast<FcChar32 const *>(wcs);
30 inline FcChar32 wcToFcChar32(wchar_t wc)
32 return static_cast<FcChar32>(wc);