Support serialization in DLLS

Make thread-safe
fix portable binary archives

[SVN r43691]
This commit is contained in:
Robert Ramey
2008-03-18 05:01:57 +00:00
parent cfb16a8a9d
commit 66b1028d4c
288 changed files with 94786 additions and 95244 deletions

View File

@@ -7,7 +7,7 @@
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_ARCHIVE_SOURCE
#define BOOST_WARCHIVE_SOURCE
#include <boost/archive/codecvt_null.hpp>
// codecvt implementation for passing wchar_t objects to char output
@@ -17,7 +17,7 @@
namespace boost {
namespace archive {
std::codecvt_base::result
BOOST_WARCHIVE_DECL(std::codecvt_base::result)
codecvt_null<wchar_t>::do_out(
std::mbstate_t & state,
const wchar_t * first1,
@@ -45,7 +45,7 @@ codecvt_null<wchar_t>::do_out(
return std::codecvt_base::ok;
}
std::codecvt_base::result
BOOST_WARCHIVE_DECL(std::codecvt_base::result)
codecvt_null<wchar_t>::do_in(
std::mbstate_t & state,
const char * first1,