From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/replicant/nx/win/nxlog.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Src/replicant/nx/win/nxlog.c (limited to 'Src/replicant/nx/win/nxlog.c') diff --git a/Src/replicant/nx/win/nxlog.c b/Src/replicant/nx/win/nxlog.c new file mode 100644 index 00000000..7e8da01b --- /dev/null +++ b/Src/replicant/nx/win/nxlog.c @@ -0,0 +1,19 @@ +#include "nxlog.h" +#include +#include +//#include + +static char *nx_log_tag = "libreplicant"; +#define MAX_FMT_SIZE 512 + +void NXLog(int priority, char *fmt, ...){ + + char formatted_string[MAX_FMT_SIZE]; + + va_list argptr; + va_start(argptr,fmt); + vsnprintf(formatted_string, MAX_FMT_SIZE, fmt, argptr); + va_end(argptr); + +// OutputDebugString(formatted_string); +} -- cgit