driver: New function output_log_nocopy().
[pspp] / src / output / driver.c
index 063ae9366bf119697c97f9da780b85d68649c279..f627e31248d69c1398739bd369307ec94dcd86fc 100644 (file)
@@ -366,6 +366,12 @@ output_log (const char *format, ...)
   char *s = xvasprintf (format, args);
   va_end (args);
 
+  output_log_nocopy (s);
+}
+
+void
+output_log_nocopy (char *s)
+{
   output_submit (text_item_create_nocopy (TEXT_ITEM_LOG, s, NULL));
 }