ref: 6ff2ff574b7cf317646ce4fbbdd4b5f604b04525
parent: 7890686d8082b914f86f12de5cf8c61248b17eff
author: Werner Lemberg <[email protected]>
date: Thu May 24 15:39:14 EDT 2007
* src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration into TT_USE_BYTECODE_INTERPRETER preprocessor block. * src/truetype/ttobjs.c (tt_size_ready_bytecode) [!TT_USE_BYTECODE_INTERPRETER]: Removed. Unused.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2007-05-24 Werner Lemberg <[email protected]>
+
+ * src/truetype/ttobjs.h (tt_size_ready_bytecode): Move declaration
+ into TT_USE_BYTECODE_INTERPRETER preprocessor block.
+
+2007-05-24 Graham Asher <[email protected]>
+
+ * src/truetype/ttobjs.c (tt_size_ready_bytecode)
+ [!TT_USE_BYTECODE_INTERPRETER]: Removed. Unused.
+
2007-05-22 David Turner <[email protected]>
* src/truetype/ttgload.c: fix Werner's recent graphics state
--- a/src/truetype/ttobjs.c
+++ b/src/truetype/ttobjs.c
@@ -700,16 +700,7 @@
return error;
}
-#else /* !TT_USE_BYTECODE_INTERPRETER */
-
- FT_LOCAL_DEF( FT_Error )
- tt_size_ready_bytecode( TT_Size size )
- {
- FT_UNUSED( size );
- return 0;
- }
-
-#endif /* !TT_USE_BYTECODE_INTERPRETER */
+#endif /* TT_USE_BYTECODE_INTERPRETER */
/*************************************************************************/
--- a/src/truetype/ttobjs.h
+++ b/src/truetype/ttobjs.h
@@ -423,13 +423,13 @@
FT_LOCAL( FT_Error )
tt_size_run_prep( TT_Size size );
+ FT_LOCAL( FT_Error )
+ tt_size_ready_bytecode( TT_Size size );
+
#endif /* TT_USE_BYTECODE_INTERPRETER */
FT_LOCAL( FT_Error )
tt_size_reset( TT_Size size );
-
- FT_LOCAL( FT_Error )
- tt_size_ready_bytecode( TT_Size size );
/*************************************************************************/