#include <config.h>
#include "otf.h"
-#include "otferror.h"
+#include "internal.h"
#include FT_TRUETYPE_TABLES_H
/* Root of application data chain. */
OTF_ApplicationData *app_data;
-};
+ /* Log of applied features by OTF_driver_XXX. */
+ OTF_DriveLog *drive_log;
+};
static OTF_MemoryRecord *
allocate_memory_record (OTF *otf)
} \
} while (0)
+void
+set_drive_log (OTF *otf, OTF_DriveLog *log)
+{
+ OTF_InternalData *internal_data = (OTF_InternalData *) otf->internal_data;
+
+ internal_data->drive_log = log;
+}
+
+OTF_DriveLog *
+get_drive_log (OTF *otf)
+{
+ OTF_InternalData *internal_data = (OTF_InternalData *) otf->internal_data;
+
+ return (internal_data->drive_log);
+}
+
\f
/*** (1-2) "head" table */