Download this file
29 lines (17 with data), 447 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 | #include <string>
#include "xmlrpc-c/string_int.h"
#include "xmlrpc-c/girerr.hpp"
using namespace std;
namespace girerr {
void
throwf(const char * const format, ...) {
va_list varargs;
va_start(varargs, format);
const char * value;
xmlrpc_vasprintf(&value, format, varargs);
string const valueString(value);
xmlrpc_strfree(value);
throw(girerr::error(valueString));
va_end(varargs);
}
} // namespace
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.