mirror of
https://github.com/Lime3DS/Lime3DS
synced 2025-01-09 13:43:27 +00:00
8f059ae398
Co-Authored-By: Mat M. <mathew1800@gmail.com>
21 lines
1 KiB
C++
21 lines
1 KiB
C++
// Copyright 2020 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <boost/archive/binary_iarchive.hpp>
|
|
#include "boost/archive/binary_oarchive.hpp"
|
|
#include "boost/serialization/export.hpp"
|
|
|
|
using iarchive = boost::archive::binary_iarchive;
|
|
using oarchive = boost::archive::binary_oarchive;
|
|
|
|
#define SERIALIZE_IMPL(A) \
|
|
template void A::serialize<iarchive>(iarchive & ar, const unsigned int file_version); \
|
|
template void A::serialize<oarchive>(oarchive & ar, const unsigned int file_version);
|
|
|
|
#define SERIALIZE_EXPORT_IMPL(A) \
|
|
BOOST_CLASS_EXPORT_IMPLEMENT(A) \
|
|
BOOST_SERIALIZATION_REGISTER_ARCHIVE(iarchive) \
|
|
BOOST_SERIALIZATION_REGISTER_ARCHIVE(oarchive)
|