.. index:: pair: namespace; gpr::rgmin_abi .. _doxid-namespacegpr_1_1rgmin__abi: namespace gpr::rgmin_abi ======================== .. toctree:: :hidden: struct_gpr_rgmin_abi_Stamp.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace rgmin_abi { // structs struct :ref:`Stamp`; // global functions std::string :target:`describe`(const :ref:`Stamp`& stamp); std::string :ref:`mismatch`(const :ref:`Stamp`& header, const :ref:`Stamp`& library, bool library_accepts); :ref:`Stamp` :target:`headerStamp`(); :ref:`Stamp` :target:`libraryStamp`(); std::string :ref:`linkedLibraryMismatch`(); void :ref:`requireCompatibleLibrary`(); } // namespace rgmin_abi .. _details-namespacegpr_1_1rgmin__abi: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Functions ---------------- .. index:: pair: function; mismatch .. _doxid-namespacegpr_1_1rgmin__abi_1adb5afa7dbdce3ce5d02e34319b2532d6: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string mismatch(const :ref:`Stamp`& header, const :ref:`Stamp`& library, bool library_accepts) Empty when the library accepts the header's stamp and agrees with it on major and layout revision; otherwise a message naming both stamps. ``library_accepts`` is the result of rgmin_abi_compatible on the header's stamp. .. index:: pair: function; linkedLibraryMismatch .. _doxid-namespacegpr_1_1rgmin__abi_1aef160c2ad494e1e106aa4127fcada2fb: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string linkedLibraryMismatch() The mismatch message for the linked library; empty when compatible. .. index:: pair: function; requireCompatibleLibrary .. _doxid-namespacegpr_1_1rgmin__abi_1a7970854c9063850f07fab12bbb7661cf: .. ref-code-block:: cpp :class: doxyrest-title-code-block void requireCompatibleLibrary() Checks the linked library once, before the first rgmin call. Throws std::runtime_error on a mismatch; there is no fallback.