Logo Search packages:      
Sourcecode: inkscape version File versions

void org::siox::SioxImage::error ( char *  fmt,
  ... 
) [private]

Error logging

Definition at line 383 of file siox.cpp.

Referenced by getPixel(), setConfidence(), and setPixel().

{
    char msgbuf[256];
    va_list args;
    va_start(args, fmt);
    vsnprintf(msgbuf, 255, fmt, args);
    va_end(args) ;
#ifdef HAVE_GLIB
    g_warning("SioxImage error: %s\n", msgbuf);
#else
    fprintf(stderr, "SioxImage error: %s\n", msgbuf);
#endif
}


Generated by  Doxygen 1.6.0   Back to index