namespace gpr::readcon_abi

Overview

namespace readcon_abi {
 
// structs
 
struct Stamp;
 
// global functions
 
std::string describe(const Stamp& stamp);
std::string mismatch(const Stamp& header, const Stamp& library);
Stamp headerStamp();
Stamp libraryStamp();
void requireCompatibleLibrary();
 
} // namespace readcon_abi

Detailed Documentation

Global Functions

std::string mismatch(const Stamp& header, const Stamp& library)

Empty when the library agrees with the header on major and layout revision and is not older in minor; otherwise a message naming both.

void requireCompatibleLibrary()

Checks the loaded library once, before the first readcon call. Throws std::runtime_error on a mismatch; there is no fallback.