source: miniini/miniini/src/log.cpp @ 6:b16aa103775c

Last change on this file since 6:b16aa103775c was 6:b16aa103775c, checked in by vadim@…, 3 years ago

More VC++ comaptibility fixes

File size: 393 bytes
Line 
1// Copyright (C) 2009-2010 Ferdinand Majerech
2// This file is part of MiniINI
3// For conditions of distribution and use, see copyright notice in LICENSE.txt
4
5#include "log.h"
6
7namespace miniini_private
8{
9
10//No logging by default.
11void(* __Log)(const char * const) = NULL;
12
13}
14
15 MINIINI_EXPORT void INILogCallback(void(* callback)(const char * const))
16{
17    miniini_private::__Log = callback;
18}
Note: See TracBrowser for help on using the repository browser.