projects
/
framework
/
graphics
/
freetype.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tizen 2.3.1 release
[framework/graphics/freetype.git]
/
src
/
cache
/
ftccache.c
diff --git
a/src/cache/ftccache.c
b/src/cache/ftccache.c
index
f01c403
..
f20dd45
100644
(file)
--- a/
src/cache/ftccache.c
+++ b/
src/cache/ftccache.c
@@
-4,8
+4,7
@@
/* */
/* The FreeType internal cache interface (body). */
/* */
/* */
/* The FreeType internal cache interface (body). */
/* */
-/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, */
-/* 2011 by */
+/* Copyright 2000-2007, 2009-2011, 2013 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@
-270,11
+269,7
@@
/* remove a node from the cache manager */
/* remove a node from the cache manager */
-#ifdef FT_CONFIG_OPTION_OLD_INTERNALS
- FT_BASE_DEF( void )
-#else
FT_LOCAL_DEF( void )
FT_LOCAL_DEF( void )
-#endif
ftc_node_destroy( FTC_Node node,
FTC_Manager manager )
{
ftc_node_destroy( FTC_Node node,
FTC_Manager manager )
{
@@
-493,14
+488,14
@@
FTC_Node* bucket;
FTC_Node* pnode;
FTC_Node node;
FTC_Node* bucket;
FTC_Node* pnode;
FTC_Node node;
- FT_Error error = FT
C
_Err_Ok;
+ FT_Error error = FT_Err_Ok;
FT_Bool list_changed = FALSE;
FTC_Node_CompareFunc compare = cache->clazz.node_compare;
if ( cache == NULL || anode == NULL )
FT_Bool list_changed = FALSE;
FTC_Node_CompareFunc compare = cache->clazz.node_compare;
if ( cache == NULL || anode == NULL )
- return FT
C_Err_Invalid_Argument
;
+ return FT
_THROW( Invalid_Argument )
;
/* Go to the `top' node of the list sharing same masked hash */
bucket = pnode = FTC_NODE__TOP_FOR_HASH( cache, hash );
/* Go to the `top' node of the list sharing same masked hash */
bucket = pnode = FTC_NODE__TOP_FOR_HASH( cache, hash );