forked from minhngoc25a/freetype2
Minor changes for testing.
This commit is contained in:
parent
e69e7e492a
commit
2bea8dbd49
|
@ -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 */
|
||||
|
||||
|
||||
/**************************************************************************
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue