]>
Dogcows Code - chaz/yoink/blob - src/Typesetter.cc
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
10 **************************************************************************/
16 #include "Typesetter.hh"
19 void Typesetter::print(const std::string
& format
, ...)
25 va_start(args
, format
);
27 nPrinted
= vsnprintf(buffer
, sizeof(buffer
), format
.c_str(), args
);
30 nPrinted
= std::min(nPrinted
, (int)sizeof(buffer
) - 1);
This page took 0.041317 seconds and 4 git commands to generate.