author | MattD <mattd@symbian.org> |
Mon, 08 Feb 2010 15:30:13 +0000 | |
changeset 66 | 18fedaf0292a |
permissions | -rw-r--r-- |
66
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
1 |
/***************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
2 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
3 |
/* ftdebug.h */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
4 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
5 |
/* Debugging and logging component (specification). */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
6 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
7 |
/* Copyright 1996-2001, 2002, 2004, 2006 by */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
8 |
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
9 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
10 |
/* This file is part of the FreeType project, and may only be used, */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
11 |
/* modified, and distributed under the terms of the FreeType project */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
12 |
/* license, FTL.TXT. By continuing to use, modify, or distribute */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
13 |
/* this file you indicate that you have read the license and */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
14 |
/* understand and accept it fully. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
15 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
16 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
17 |
/* IMPORTANT: A description of FreeType's debugging support can be */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
18 |
/* found in `docs/DEBUG.TXT'. Read it if you need to use or */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
19 |
/* understand this code. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
20 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
21 |
/***************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
22 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
23 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
24 |
#ifndef __FTDEBUG_H__ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
25 |
#define __FTDEBUG_H__ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
26 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
27 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
28 |
#include <ft2build.h> |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
29 |
#include FT_CONFIG_CONFIG_H |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
30 |
#include FT_FREETYPE_H |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
31 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
32 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
33 |
FT_BEGIN_HEADER |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
34 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
35 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
36 |
/* force the definition of FT_DEBUG_LEVEL_ERROR if FT_DEBUG_LEVEL_TRACE */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
37 |
/* is already defined; this simplifies the following #ifdefs */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
38 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
39 |
#ifdef FT_DEBUG_LEVEL_TRACE |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
40 |
#undef FT_DEBUG_LEVEL_ERROR |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
41 |
#define FT_DEBUG_LEVEL_ERROR |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
42 |
#endif |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
43 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
44 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
45 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
46 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
47 |
/* Define the trace enums as well as the trace levels array when they */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
48 |
/* are needed. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
49 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
50 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
51 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
52 |
#ifdef FT_DEBUG_LEVEL_TRACE |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
53 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
54 |
#define FT_TRACE_DEF( x ) trace_ ## x , |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
55 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
56 |
/* defining the enumeration */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
57 |
typedef enum |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
58 |
{ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
59 |
#include FT_INTERNAL_TRACE_H |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
60 |
trace_count |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
61 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
62 |
} FT_Trace; |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
63 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
64 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
65 |
/* defining the array of trace levels, provided by `src/base/ftdebug.c' */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
66 |
extern int ft_trace_levels[trace_count]; |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
67 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
68 |
#undef FT_TRACE_DEF |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
69 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
70 |
#endif /* FT_DEBUG_LEVEL_TRACE */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
71 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
72 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
73 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
74 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
75 |
/* Define the FT_TRACE macro */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
76 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
77 |
/* IMPORTANT! */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
78 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
79 |
/* Each component must define the macro FT_COMPONENT to a valid FT_Trace */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
80 |
/* value before using any TRACE macro. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
81 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
82 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
83 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
84 |
#ifdef FT_DEBUG_LEVEL_TRACE |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
85 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
86 |
#define FT_TRACE( level, varformat ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
87 |
do \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
88 |
{ \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
89 |
if ( ft_trace_levels[FT_COMPONENT] >= level ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
90 |
FT_Message varformat; \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
91 |
} while ( 0 ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
92 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
93 |
#else /* !FT_DEBUG_LEVEL_TRACE */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
94 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
95 |
#define FT_TRACE( level, varformat ) do ; while ( 0 ) /* nothing */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
96 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
97 |
#endif /* !FT_DEBUG_LEVEL_TRACE */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
98 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
99 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
100 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
101 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
102 |
/* <Function> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
103 |
/* FT_Trace_Get_Count */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
104 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
105 |
/* <Description> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
106 |
/* Return the number of available trace components. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
107 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
108 |
/* <Return> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
109 |
/* The number of trace components. 0 if FreeType 2 is not built with */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
110 |
/* FT_DEBUG_LEVEL_TRACE definition. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
111 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
112 |
/* <Note> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
113 |
/* This function may be useful if you want to access elements of */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
114 |
/* the internal `ft_trace_levels' array by an index. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
115 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
116 |
FT_BASE( FT_Int ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
117 |
FT_Trace_Get_Count( void ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
118 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
119 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
120 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
121 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
122 |
/* <Function> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
123 |
/* FT_Trace_Get_Name */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
124 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
125 |
/* <Description> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
126 |
/* Return the name of a trace component. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
127 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
128 |
/* <Input> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
129 |
/* The index of the trace component. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
130 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
131 |
/* <Return> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
132 |
/* The name of the trace component. This is a statically allocated */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
133 |
/* C string, so do not free it after use. NULL if FreeType 2 is not */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
134 |
/* built with FT_DEBUG_LEVEL_TRACE definition. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
135 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
136 |
/* <Note> */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
137 |
/* Use @FT_Trace_Get_Count to get the number of available trace */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
138 |
/* components. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
139 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
140 |
/* This function may be useful if you want to control FreeType 2's */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
141 |
/* debug level in your appliaciton. */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
142 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
143 |
FT_BASE( const char * ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
144 |
FT_Trace_Get_Name( FT_Int idx ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
145 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
146 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
147 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
148 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
149 |
/* You need two opening resp. closing parentheses! */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
150 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
151 |
/* Example: FT_TRACE0(( "Value is %i", foo )) */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
152 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
153 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
154 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
155 |
#define FT_TRACE0( varformat ) FT_TRACE( 0, varformat ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
156 |
#define FT_TRACE1( varformat ) FT_TRACE( 1, varformat ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
157 |
#define FT_TRACE2( varformat ) FT_TRACE( 2, varformat ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
158 |
#define FT_TRACE3( varformat ) FT_TRACE( 3, varformat ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
159 |
#define FT_TRACE4( varformat ) FT_TRACE( 4, varformat ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
160 |
#define FT_TRACE5( varformat ) FT_TRACE( 5, varformat ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
161 |
#define FT_TRACE6( varformat ) FT_TRACE( 6, varformat ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
162 |
#define FT_TRACE7( varformat ) FT_TRACE( 7, varformat ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
163 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
164 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
165 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
166 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
167 |
/* Define the FT_ERROR macro */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
168 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
169 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
170 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
171 |
#ifdef FT_DEBUG_LEVEL_ERROR |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
172 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
173 |
#define FT_ERROR( varformat ) FT_Message varformat |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
174 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
175 |
#else /* !FT_DEBUG_LEVEL_ERROR */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
176 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
177 |
#define FT_ERROR( varformat ) do ; while ( 0 ) /* nothing */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
178 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
179 |
#endif /* !FT_DEBUG_LEVEL_ERROR */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
180 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
181 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
182 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
183 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
184 |
/* Define the FT_ASSERT macro */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
185 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
186 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
187 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
188 |
#ifdef FT_DEBUG_LEVEL_ERROR |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
189 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
190 |
#define FT_ASSERT( condition ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
191 |
do \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
192 |
{ \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
193 |
if ( !( condition ) ) \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
194 |
FT_Panic( "assertion failed on line %d of file %s\n", \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
195 |
__LINE__, __FILE__ ); \ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
196 |
} while ( 0 ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
197 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
198 |
#else /* !FT_DEBUG_LEVEL_ERROR */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
199 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
200 |
#define FT_ASSERT( condition ) do ; while ( 0 ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
201 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
202 |
#endif /* !FT_DEBUG_LEVEL_ERROR */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
203 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
204 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
205 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
206 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
207 |
/* Define `FT_Message' and `FT_Panic' when needed */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
208 |
/* */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
209 |
/*************************************************************************/ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
210 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
211 |
#ifdef FT_DEBUG_LEVEL_ERROR |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
212 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
213 |
#include "stdio.h" /* for vprintf() */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
214 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
215 |
/* print a message */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
216 |
FT_BASE( void ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
217 |
FT_Message( const char* fmt, ... ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
218 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
219 |
/* print a message and exit */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
220 |
FT_BASE( void ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
221 |
FT_Panic( const char* fmt, ... ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
222 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
223 |
#endif /* FT_DEBUG_LEVEL_ERROR */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
224 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
225 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
226 |
FT_BASE( void ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
227 |
ft_debug_init( void ); |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
228 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
229 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
230 |
#if defined( _MSC_VER ) /* Visual C++ (and Intel C++) */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
231 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
232 |
/* we disable the warning `conditional expression is constant' here */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
233 |
/* in order to compile cleanly with the maximum level of warnings */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
234 |
#pragma warning( disable : 4127 ) |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
235 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
236 |
#endif /* _MSC_VER */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
237 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
238 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
239 |
FT_END_HEADER |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
240 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
241 |
#endif /* __FTDEBUG_H__ */ |
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
242 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
243 |
|
18fedaf0292a
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)
MattD <mattd@symbian.org>
parents:
diff
changeset
|
244 |
/* END */ |