summaryrefslogtreecommitdiff
path: root/audio/arts/files/gslglib.c
blob: 6ea5ed1730a56cb199e04f1f24a1f99578651001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "gslglib.h"

#include <stdio.h>

void
gsl_g_log (const gchar*msg,const char *format, va_list ap)
{
  if (msg) printf ("\n%s",msg);
  vprintf(format, ap);
  if (msg) printf ("\n");
}

void
gsl_g_print_fd (int fd, const char *format, va_list ap)
{
    g_return_if_fail (fd == 1 || fd == 2);
    if (fd == 1)
       vprintf (format, ap);
     else
       vfprintf (stderr, format, ap);
}