blob: f2dff7e83940a0b4e9b596457e7405e4dd3d0298 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <stdarg.h>
#include <vespa/vespalib/stllike/string.h>
namespace vespalib {
extern vespalib::string make_vespa_string_va(const char *fmt, va_list ap);
extern vespalib::string make_vespa_string(const char *fmt, ...)
#ifdef __GNUC__
// Add printf format checks with gcc
__attribute__ ((format (printf,1,2)))
#endif
;
} // namespace vespalib
|