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 |
/* ftmemory.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 |
/* The FreeType memory management macros (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, 2005, 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 |
|
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 |
|
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 |
#ifndef __FTMEMORY_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
|
20 |
#define __FTMEMORY_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
|
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 |
#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
|
24 |
#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
|
25 |
#include FT_TYPES_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 |
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
|
29 |
|
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 |
|
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 |
/* <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
|
34 |
/* FT_SET_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
|
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 |
/* <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
|
37 |
/* This macro is used to set an implicit `error' variable to a given */ |
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 |
/* expression's value (usually a function call), and convert it to a */ |
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 |
/* boolean which is set whenever the value is != 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
|
40 |
/* */ |
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 |
#undef FT_SET_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 |
#define FT_SET_ERROR( expression ) \ |
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 |
( ( error = (expression) ) != 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
|
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 |
/*************************************************************************/ |
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 |
/*************************************************************************/ |
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 |
/**** M E M O R Y ****/ |
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 |
/**** ****/ |
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 |
/*************************************************************************/ |
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 |
/*************************************************************************/ |
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 |
|
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 |
/* |
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 |
* C++ refuses to handle statements like p = (void*)anything; where `p' |
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 |
* is a typed pointer. Since we don't have a `typeof' operator in |
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 |
* standard C++, we have to use ugly casts. |
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 |
|
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 |
#ifdef __cplusplus |
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 |
#define FT_ASSIGNP( p, val ) *((void**)&(p)) = (val) |
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 |
#else |
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 |
#define FT_ASSIGNP( p, val ) (p) = (val) |
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 |
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 |
#ifdef FT_DEBUG_MEMORY |
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 |
|
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 |
FT_BASE( const char* ) _ft_debug_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
|
77 |
FT_BASE( long ) _ft_debug_lineno; |
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 |
#define FT_DEBUG_INNER( exp ) ( _ft_debug_file = __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
|
80 |
_ft_debug_lineno = __LINE__, \ |
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 |
(exp) ) |
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 |
#define FT_ASSIGNP_INNER( p, exp ) ( _ft_debug_file = __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
|
84 |
_ft_debug_lineno = __LINE__, \ |
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 |
FT_ASSIGNP( p, exp ) ) |
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 |
|
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 |
#else /* !FT_DEBUG_MEMORY */ |
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 |
#define FT_DEBUG_INNER( exp ) (exp) |
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 |
#define FT_ASSIGNP_INNER( p, exp ) FT_ASSIGNP( p, exp ) |
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 |
|
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 |
#endif /* !FT_DEBUG_MEMORY */ |
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 |
|
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 |
/* |
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 |
* The allocation functions return a pointer, and the error 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
|
97 |
* is written to through the `p_error' parameter. See below for |
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 |
* for documentation. |
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 |
FT_BASE( FT_Pointer ) |
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 |
ft_mem_alloc( FT_Memory memory, |
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_Long size, |
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 |
FT_Error *p_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
|
105 |
|
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 |
FT_BASE( FT_Pointer ) |
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 |
ft_mem_qalloc( FT_Memory memory, |
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 |
FT_Long size, |
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 |
FT_Error *p_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
|
110 |
|
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 |
FT_BASE( FT_Pointer ) |
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 |
ft_mem_realloc( FT_Memory memory, |
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 |
FT_Long item_size, |
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 |
FT_Long cur_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
|
115 |
FT_Long new_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
|
116 |
void* block, |
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_Error *p_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
|
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 |
FT_BASE( FT_Pointer ) |
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 |
ft_mem_qrealloc( FT_Memory memory, |
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 |
FT_Long item_size, |
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 |
FT_Long cur_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
|
123 |
FT_Long new_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
|
124 |
void* block, |
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 |
FT_Error *p_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
|
126 |
|
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 |
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
|
128 |
ft_mem_free( FT_Memory memory, |
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 |
const void* P ); |
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 |
|
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 |
#define FT_MEM_ALLOC( ptr, size ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, (size), &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
|
134 |
|
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 |
#define FT_MEM_FREE( ptr ) \ |
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 |
FT_BEGIN_STMNT \ |
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 |
ft_mem_free( memory, (ptr) ); \ |
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 |
(ptr) = NULL; \ |
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 |
FT_END_STMNT |
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 |
|
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 |
#define FT_MEM_NEW( ptr ) \ |
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 |
FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) ) |
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 |
|
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 |
#define FT_MEM_REALLOC( ptr, cursz, newsz ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, 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
|
146 |
(cursz), (newsz), \ |
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 |
(ptr), &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
|
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 |
#define FT_MEM_QALLOC( ptr, size ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_qalloc( memory, (size), &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
|
151 |
|
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 |
#define FT_MEM_QNEW( ptr ) \ |
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 |
FT_MEM_QALLOC( ptr, sizeof ( *(ptr) ) ) |
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_MEM_QREALLOC( ptr, cursz, newsz ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, 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
|
157 |
(cursz), (newsz), \ |
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 |
(ptr), &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
|
159 |
|
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_MEM_QRENEW_ARRAY( ptr, cursz, newsz ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, sizeof ( *(ptr) ), \ |
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 |
(cursz), (newsz), \ |
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 |
(ptr), &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
|
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 |
#define FT_MEM_ALLOC_MULT( ptr, count, item_size ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, (item_size), \ |
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 |
0, (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
|
168 |
NULL, &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
|
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 |
#define FT_MEM_REALLOC_MULT( ptr, oldcnt, newcnt, itmsz ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, (itmsz), \ |
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 |
(oldcnt), (newcnt), \ |
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 |
(ptr), &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
|
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 |
#define FT_MEM_QALLOC_MULT( ptr, count, item_size ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, (item_size), \ |
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 |
0, (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
|
178 |
NULL, &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
|
179 |
|
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 |
#define FT_MEM_QREALLOC_MULT( ptr, oldcnt, newcnt, itmsz) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, (itmsz), \ |
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 |
(oldcnt), (newcnt), \ |
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 |
(ptr), &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
|
184 |
|
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 |
#define FT_MEM_SET_ERROR( cond ) ( (cond), error != 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
|
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 |
|
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 |
#define FT_MEM_SET( dest, byte, count ) ft_memset( dest, byte, 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
|
190 |
|
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 |
#define FT_MEM_COPY( dest, source, count ) ft_memcpy( dest, source, 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
|
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 |
#define FT_MEM_MOVE( dest, source, count ) ft_memmove( dest, source, 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
|
194 |
|
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 |
|
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 |
#define FT_MEM_ZERO( dest, count ) FT_MEM_SET( dest, 0, 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
|
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 |
#define FT_ZERO( p ) FT_MEM_ZERO( p, sizeof ( *(p) ) ) |
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 |
|
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 |
#define FT_ARRAY_ZERO( dest, 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
|
202 |
FT_MEM_ZERO( dest, (count) * sizeof ( *(dest) ) ) |
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 |
#define FT_ARRAY_COPY( dest, source, 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
|
205 |
FT_MEM_COPY( dest, source, (count) * sizeof ( *(dest) ) ) |
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_ARRAY_MOVE( dest, source, 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
|
208 |
FT_MEM_MOVE( dest, source, (count) * sizeof ( *(dest) ) ) |
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 |
/* |
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 |
* Return the maximum number of adressable elements in an array. |
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 |
* We limit ourselves to INT_MAX, rather than UINT_MAX, to avoid |
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 |
* any problems. |
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 |
*/ |
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 |
#define FT_ARRAY_MAX( ptr ) ( FT_INT_MAX / sizeof ( *(ptr) ) ) |
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 |
|
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 |
#define FT_ARRAY_CHECK( ptr, count ) ( (count) <= FT_ARRAY_MAX( ptr ) ) |
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 |
|
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 |
|
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 |
/*************************************************************************/ |
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 |
/* The following functions macros expect that their pointer argument is */ |
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 |
/* _typed_ in order to automatically compute array element sizes. */ |
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 |
|
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 |
#define FT_MEM_NEW_ARRAY( ptr, 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
|
228 |
FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, sizeof ( *(ptr) ), \ |
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 |
0, (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
|
230 |
NULL, &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
|
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 |
#define FT_MEM_RENEW_ARRAY( ptr, cursz, newsz ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_realloc( memory, sizeof ( *(ptr) ), \ |
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 |
(cursz), (newsz), \ |
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 |
(ptr), &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
|
236 |
|
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 |
#define FT_MEM_QNEW_ARRAY( ptr, 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
|
238 |
FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, sizeof ( *(ptr) ), \ |
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 |
0, (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
|
240 |
NULL, &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
|
241 |
|
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 |
#define FT_MEM_QRENEW_ARRAY( ptr, cursz, newsz ) \ |
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 |
FT_ASSIGNP_INNER( ptr, ft_mem_qrealloc( memory, sizeof ( *(ptr) ), \ |
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 |
(cursz), (newsz), \ |
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
|
245 |
(ptr), &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
|
246 |
|
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
|
247 |
|
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
|
248 |
#define FT_ALLOC( ptr, size ) \ |
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
|
249 |
FT_MEM_SET_ERROR( FT_MEM_ALLOC( ptr, size ) ) |
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
|
250 |
|
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
|
251 |
#define FT_REALLOC( ptr, cursz, newsz ) \ |
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
|
252 |
FT_MEM_SET_ERROR( FT_MEM_REALLOC( ptr, cursz, newsz ) ) |
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
|
253 |
|
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
|
254 |
#define FT_ALLOC_MULT( ptr, count, item_size ) \ |
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
|
255 |
FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) ) |
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
|
256 |
|
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
|
257 |
#define FT_REALLOC_MULT( ptr, oldcnt, newcnt, itmsz ) \ |
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
|
258 |
FT_MEM_SET_ERROR( FT_MEM_REALLOC_MULT( ptr, oldcnt, \ |
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
|
259 |
newcnt, itmsz ) ) |
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
|
260 |
|
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
|
261 |
#define FT_QALLOC( ptr, size ) \ |
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
|
262 |
FT_MEM_SET_ERROR( FT_MEM_QALLOC( ptr, size ) ) |
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
|
263 |
|
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
|
264 |
#define FT_QREALLOC( ptr, cursz, newsz ) \ |
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
|
265 |
FT_MEM_SET_ERROR( FT_MEM_QREALLOC( ptr, cursz, newsz ) ) |
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
|
266 |
|
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
|
267 |
#define FT_QALLOC_MULT( ptr, count, item_size ) \ |
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
|
268 |
FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) ) |
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
|
269 |
|
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
|
270 |
#define FT_QREALLOC_MULT( ptr, oldcnt, newcnt, itmsz ) \ |
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
|
271 |
FT_MEM_SET_ERROR( FT_MEM_QREALLOC_MULT( ptr, oldcnt, \ |
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
|
272 |
newcnt, itmsz ) ) |
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
|
273 |
|
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
|
274 |
#define FT_FREE( ptr ) FT_MEM_FREE( ptr ) |
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
|
275 |
|
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
|
276 |
#define FT_NEW( ptr ) FT_MEM_SET_ERROR( FT_MEM_NEW( ptr ) ) |
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
|
277 |
|
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
|
278 |
#define FT_NEW_ARRAY( ptr, 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
|
279 |
FT_MEM_SET_ERROR( FT_MEM_NEW_ARRAY( ptr, 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
|
280 |
|
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
|
281 |
#define FT_RENEW_ARRAY( ptr, curcnt, newcnt ) \ |
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
|
282 |
FT_MEM_SET_ERROR( FT_MEM_RENEW_ARRAY( ptr, curcnt, newcnt ) ) |
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
|
283 |
|
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
|
284 |
#define FT_QNEW( ptr ) \ |
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
|
285 |
FT_MEM_SET_ERROR( FT_MEM_QNEW( ptr ) ) |
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
|
286 |
|
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
|
287 |
#define FT_QNEW_ARRAY( ptr, 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
|
288 |
FT_MEM_SET_ERROR( FT_MEM_NEW_ARRAY( ptr, 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
|
289 |
|
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
|
290 |
#define FT_QRENEW_ARRAY( ptr, curcnt, newcnt ) \ |
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
|
291 |
FT_MEM_SET_ERROR( FT_MEM_RENEW_ARRAY( ptr, curcnt, newcnt ) ) |
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
|
292 |
|
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
|
293 |
|
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
|
294 |
#ifdef FT_CONFIG_OPTION_OLD_INTERNALS |
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
|
295 |
|
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
|
296 |
FT_BASE( FT_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
|
297 |
FT_Alloc( FT_Memory memory, |
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
|
298 |
FT_Long size, |
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
|
299 |
void* *P ); |
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
|
300 |
|
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
|
301 |
FT_BASE( FT_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
|
302 |
FT_QAlloc( FT_Memory memory, |
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
|
303 |
FT_Long size, |
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
|
304 |
void* *p ); |
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
|
305 |
|
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
|
306 |
FT_BASE( FT_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
|
307 |
FT_Realloc( FT_Memory memory, |
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
|
308 |
FT_Long current, |
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
|
309 |
FT_Long size, |
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
|
310 |
void* *P ); |
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
|
311 |
|
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
|
312 |
FT_BASE( FT_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
|
313 |
FT_QRealloc( FT_Memory memory, |
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
|
314 |
FT_Long current, |
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
|
315 |
FT_Long size, |
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
|
316 |
void* *p ); |
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
|
317 |
|
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
|
318 |
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
|
319 |
FT_Free( FT_Memory memory, |
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
|
320 |
void* *P ); |
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
|
321 |
|
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
|
322 |
#endif /* FT_CONFIG_OPTION_OLD_INTERNALS */ |
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
|
323 |
|
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
|
324 |
|
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
|
325 |
/* */ |
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
|
326 |
|
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
|
327 |
|
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
|
328 |
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
|
329 |
|
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
|
330 |
#endif /* __FTMEMORY_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
|
331 |
|
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
|
332 |
|
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
|
333 |
/* END */ |