Debian Codegraph @

src/lib/libabw_internal.cpp

raw
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libabw project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #include <cstdarg>
11 #include <cstdio>
12
13 #include "libabw_internal.h"
14
15 namespace libabw
16 {
17
18 void debugPrint(const char *const format, ...)
19 {
20 va_list args;
21 va_start(args, format);
22 std::vfprintf(stderr, format, args);
23 va_end(args);
24 }
25
26 }
27
28 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */