[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] parthw-wip 7b95c62 4/4: Minor changes for testing.
From: |
Parth Wazurkar |
Subject: |
[freetype2] parthw-wip 7b95c62 4/4: Minor changes for testing. |
Date: |
Sun, 24 Jun 2018 09:58:31 -0400 (EDT) |
branch: parthw-wip
commit 7b95c6259c5ba04c028480cfc9f6fb87f38c9358
Author: Parth Wazurkar <address@hidden>
Commit: Parth Wazurkar <address@hidden>
Minor changes for testing.
---
include/freetype/config/ftoption.h | 4 ++--
src/cache/ftcmanag.c | 5 +++--
src/cache/ftcmru.c | 4 ++--
src/cache/ftcmru.h | 8 ++++----
4 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/include/freetype/config/ftoption.h
b/include/freetype/config/ftoption.h
index 6e5a950..a5d883f 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -413,8 +413,8 @@ FT_BEGIN_HEADER
* Do not #undef these macros here since the build system might define
* them for certain configurations only.
*/
- #define FT_DEBUG_LEVEL_ERROR
- #define FT_DEBUG_LEVEL_TRACE
+/* #define FT_DEBUG_LEVEL_ERROR */
+/* #define FT_DEBUG_LEVEL_TRACE */
/**************************************************************************
diff --git a/src/cache/ftcmanag.c b/src/cache/ftcmanag.c
index 9be1773..d4a7242 100644
--- a/src/cache/ftcmanag.c
+++ b/src/cache/ftcmanag.c
@@ -321,14 +321,15 @@
/* we break encapsulation for the sake of speed */
#ifdef FTC_INLINE
-
+printf("Hi I am here in FTC_Manager_LookupFace 0\n");
FTC_MRULIST_LOOKUP_CMP( &manager->faces, face_id, ftc_face_node_compare,
mrunode, error );
#else
+printf("Hi I am here in FTC_Manager_LookupFace 1\n");
error = FTC_MruList_Lookup( &manager->faces, face_id, &mrunode );
#endif
-
+printf("Hi I am here in FTC_Manager_LookupFace 2\n");
if ( !error )
*aface = FTC_FACE_NODE( mrunode )->face;
diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c
index c704f4e..a7d9d8d 100644
--- a/src/cache/ftcmru.c
+++ b/src/cache/ftcmru.c
@@ -77,12 +77,12 @@
FT_ASSERT( first );
-
+printf("Hi I am here in FTC_MruNode_Up 0\n");
if ( first != node )
{
FTC_MruNode prev, next, last;
-
+printf("Hi I am here in FTC_MruNode_Up 1\n");
#ifdef FT_DEBUG_ERROR
{
FTC_MruNode cnode = first;
diff --git a/src/cache/ftcmru.h b/src/cache/ftcmru.h
index 936c66e..436250c 100644
--- a/src/cache/ftcmru.h
+++ b/src/cache/ftcmru.h
@@ -166,7 +166,7 @@ FT_BEGIN_HEADER
FTC_MruNode* _pfirst = &(list)->nodes; \
FTC_MruNode_CompareFunc _compare = (FTC_MruNode_CompareFunc)(compare); \
FTC_MruNode _first, _node; \
- \
+ printf("Hi I am here in FTC_MRULIST_LOOKUP_CMP 0\n");
\
\
error = FT_Err_Ok; \
_first = *(_pfirst); \
@@ -181,16 +181,16 @@ FT_BEGIN_HEADER
{ \
if ( _node != _first ) \
FTC_MruNode_Up( _pfirst, _node ); \
- \
+ printf("Hi I am here in FTC_MRULIST_LOOKUP_CMP 1\n");
\
node = _node; \
goto MruOk_; \
} \
_node = _node->next; \
- \
+ printf("Hi I am here in FTC_MRULIST_LOOKUP_CMP 2\n");
\
} while ( _node != _first); \
} \
\
- error = FTC_MruList_New( (list), (key), (FTC_MruNode*)(void*)&(node) ); \
+ error = FTC_MruList_New( (list), (key), (FTC_MruNode*)(void*)&(node) );
printf("Hi I am here in FTC_MRULIST_LOOKUP_CMP 3\n");\
MruOk_: \
; \
FT_END_STMNT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] parthw-wip 7b95c62 4/4: Minor changes for testing.,
Parth Wazurkar <=