add export specifier
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@572 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
e3ba946127
commit
5c225a1935
1 changed files with 14 additions and 1 deletions
|
@ -28,6 +28,8 @@
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
|
||||||
|
#include <loki/LokiExport.h>
|
||||||
|
|
||||||
|
|
||||||
// long is 32 bit on 64-bit Windows!
|
// long is 32 bit on 64-bit Windows!
|
||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
|
@ -47,10 +49,12 @@ namespace Loki
|
||||||
|
|
||||||
// Crude writing method: writes straight to the file, unbuffered
|
// Crude writing method: writes straight to the file, unbuffered
|
||||||
// Must be combined with a buffer to work properly (and efficiently)
|
// Must be combined with a buffer to work properly (and efficiently)
|
||||||
void write(std::FILE* f, const char* from, const char* to);
|
LOKI_EXPORT
|
||||||
|
void write(std::FILE* f, const char* from, const char* to);
|
||||||
|
|
||||||
|
|
||||||
// Write to a string
|
// Write to a string
|
||||||
|
LOKI_EXPORT
|
||||||
void write(std::string& s, const char* from, const char* to);
|
void write(std::string& s, const char* from, const char* to);
|
||||||
|
|
||||||
// Write to a fixed-size buffer
|
// Write to a fixed-size buffer
|
||||||
|
@ -528,16 +532,22 @@ namespace Loki
|
||||||
LOKI_SAFEFORMAT_SIGNED_LONG result_;
|
LOKI_SAFEFORMAT_SIGNED_LONG result_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
LOKI_EXPORT
|
||||||
PrintfState<std::FILE*, char> Printf(const char* format);
|
PrintfState<std::FILE*, char> Printf(const char* format);
|
||||||
|
|
||||||
|
LOKI_EXPORT
|
||||||
PrintfState<std::FILE*, char> Printf(const std::string format);
|
PrintfState<std::FILE*, char> Printf(const std::string format);
|
||||||
|
|
||||||
|
LOKI_EXPORT
|
||||||
PrintfState<std::FILE*, char> FPrintf(FILE* f, const char* format);
|
PrintfState<std::FILE*, char> FPrintf(FILE* f, const char* format);
|
||||||
|
|
||||||
|
LOKI_EXPORT
|
||||||
PrintfState<std::FILE*, char> FPrintf(FILE* f, const std::string& format);
|
PrintfState<std::FILE*, char> FPrintf(FILE* f, const std::string& format);
|
||||||
|
|
||||||
|
LOKI_EXPORT
|
||||||
PrintfState<std::string&, char> SPrintf(std::string& s, const char* format);
|
PrintfState<std::string&, char> SPrintf(std::string& s, const char* format);
|
||||||
|
|
||||||
|
LOKI_EXPORT
|
||||||
PrintfState<std::string&, char> SPrintf(std::string& s, const std::string& format);
|
PrintfState<std::string&, char> SPrintf(std::string& s, const std::string& format);
|
||||||
|
|
||||||
template <class T, class Char>
|
template <class T, class Char>
|
||||||
|
@ -563,6 +573,9 @@ namespace Loki
|
||||||
#endif //SAFEFORMAT_H_
|
#endif //SAFEFORMAT_H_
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.24 2006/02/28 11:13:20 syntheticpp
|
||||||
|
// add export specifier
|
||||||
|
//
|
||||||
// Revision 1.23 2006/01/18 17:21:31 lfittl
|
// Revision 1.23 2006/01/18 17:21:31 lfittl
|
||||||
// - Compile library with -Weffc++ and -pedantic (gcc)
|
// - Compile library with -Weffc++ and -pedantic (gcc)
|
||||||
// - Fix most issues raised by using -Weffc++ (initialization lists)
|
// - Fix most issues raised by using -Weffc++ (initialization lists)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue