freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] parthw-cleaned 903a066: [tfm] Modify `tfm_interface' definit


From: Parth Wazurkar
Subject: [freetype2] parthw-cleaned 903a066: [tfm] Modify `tfm_interface' definition.
Date: Wed, 8 Aug 2018 00:27:36 -0400 (EDT)

branch: parthw-cleaned
commit 903a0662147edfca8e04c21ea1641d66bcb11ff8
Author: Parth Wazurkar <address@hidden>
Commit: Parth Wazurkar <address@hidden>

    [tfm] Modify `tfm_interface' definition.
    
    * src/tfm/tfmmod.c: Add `TFM_Parser_FuncsRec' implementation
    in `tfm_interface'.
---
 src/tfm/tfmmod.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/tfm/tfmmod.c b/src/tfm/tfmmod.c
index f987fa4..c4e8825 100644
--- a/src/tfm/tfmmod.c
+++ b/src/tfm/tfmmod.c
@@ -21,14 +21,19 @@
 #include "tfmobjs.h"
 
 
-  static
-  const TFM_Interface  tfm_interface =
+  FT_CALLBACK_TABLE_DEF
+  const TFM_Parser_FuncsRec  tfm_parser_funcs =
   {
     tfm_init,           /* init          */
     tfm_parse_metrics,  /* parse metrics */
     tfm_close,          /* done          */
   };
 
+  static
+  const TFM_Interface  tfm_interface =
+  {
+    &tfm_parser_funcs,
+  };
 
   FT_CALLBACK_TABLE_DEF
   const FT_Module_Class  tfm_module_class =



reply via email to

[Prev in Thread] Current Thread [Next in Thread]