mirror of
https://github.com/ksherlock/mpw.git
synced 2024-11-22 15:31:50 +00:00
26 lines
346 B
C++
26 lines
346 B
C++
#ifndef __MPW_INTERNAL_H__
|
|
#define __MPW_INTERNAL_H__
|
|
|
|
#include <vector>
|
|
#include <cstdio>
|
|
|
|
namespace MPW
|
|
{
|
|
|
|
template<typename... Args>
|
|
inline void Log(const char *format, Args... args)
|
|
{
|
|
if (Trace) fprintf(stderr, format, args...);
|
|
}
|
|
|
|
/*
|
|
namespace Internal
|
|
{
|
|
// for dup counts, etc.
|
|
extern std::vector<int> FDTable;
|
|
}
|
|
*/
|
|
|
|
}
|
|
|
|
#endif |