Blame src/fcftint.h

Packit 352660
/*
Packit 352660
 * Copyright © 2007 Keith Packard
Packit 352660
 *
Packit 352660
 * Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
 * documentation for any purpose is hereby granted without fee, provided that
Packit 352660
 * the above copyright notice appear in all copies and that both that copyright
Packit 352660
 * notice and this permission notice appear in supporting documentation, and
Packit 352660
 * that the name of the copyright holders not be used in advertising or
Packit 352660
 * publicity pertaining to distribution of the software without specific,
Packit 352660
 * written prior permission.  The copyright holders make no representations
Packit 352660
 * about the suitability of this software for any purpose.  It is provided "as
Packit 352660
 * is" without express or implied warranty.
Packit 352660
 *
Packit 352660
 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
 * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
Packit 352660
 * OF THIS SOFTWARE.
Packit 352660
 */
Packit 352660
Packit 352660
#ifndef _FCFTINT_H_
Packit 352660
#define _FCFTINT_H_
Packit 352660
Packit 352660
#include <fontconfig/fcfreetype.h>
Packit 352660
Packit 352660
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun)
Packit 352660
#define FcPrivate		__attribute__((__visibility__("hidden")))
Packit 352660
#define HAVE_GNUC_ATTRIBUTE 1
Packit 352660
#include "fcftalias.h"
Packit 352660
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
Packit 352660
#define FcPrivate		__hidden
Packit 352660
#else /* not gcc >= 3.3 and not Sun Studio >= 8 */
Packit 352660
#define FcPrivate
Packit 352660
#endif
Packit 352660
Packit 352660
/* fcfreetype.c */
Packit 352660
FcPrivate FcBool
Packit 352660
FcFreeTypeIsExclusiveLang (const FcChar8  *lang);
Packit 352660
Packit 352660
FcPrivate FcBool
Packit 352660
FcFreeTypeHasLang (FcPattern *pattern, const FcChar8 *lang);
Packit 352660
Packit 352660
FcPrivate FcChar32
Packit 352660
FcFreeTypeUcs4ToPrivate (FcChar32 ucs4, const FcCharMap *map);
Packit 352660
Packit 352660
FcPrivate FcChar32
Packit 352660
FcFreeTypePrivateToUcs4 (FcChar32 private, const FcCharMap *map);
Packit 352660
Packit 352660
FcPrivate const FcCharMap *
Packit 352660
FcFreeTypeGetPrivateMap (FT_Encoding encoding);
Packit 352660
Packit 352660
#endif /* _FCFTINT_H_ */