Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
cpp-ethereum
libethash
util_win32.c
Go to the documentation of this file.
1
/*
2
This file is part of cpp-ethereum.
3
4
cpp-ethereum is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation, either version 3 of the License, or
7
(at your option) any later version.
8
9
cpp-ethereum is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>.
16
*/
21
#include <stdarg.h>
22
#include <stdio.h>
23
24
25
// foward declare without all of Windows.h
26
__declspec
(dllimport) void __stdcall OutputDebugStringA(
char
const* lpOutputString);
27
28
void
debugf
(
char
const* str, ...)
29
{
30
va_list args;
31
va_start(args, str);
32
33
char
buf[1<<16];
34
_vsnprintf_s(buf,
sizeof
(buf),
sizeof
(buf), str, args);
35
buf[
sizeof
(buf)-1] =
'\0'
;
36
OutputDebugStringA(buf);
37
}
__declspec
__declspec(dllimport)
Definition:
util_win32.c:26
debugf
#define debugf
Definition:
util.h:32
Generated on Mon Oct 22 2018 15:15:27 for Fabcoin Core by
1.8.11