Skip to content

Commit

Permalink
Trade: bump AbstractImporter interface version.
Browse files Browse the repository at this point in the history
With the previous commits, existing plugin implementations built and ran
against the new code, however it introduced several ABI breaks meaning
that existing plugin binaries would crash. This forces them to be
recompiled to match the new version string.
  • Loading branch information
mosra committed Dec 7, 2021
1 parent b6200d0 commit 4418bec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Magnum/Trade/AbstractImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ namespace Magnum { namespace Trade {
std::string AbstractImporter::pluginInterface() {
return
/* [interface] */
"cz.mosra.magnum.Trade.AbstractImporter/0.3.4"
"cz.mosra.magnum.Trade.AbstractImporter/0.4"
/* [interface] */
;
}
Expand Down
2 changes: 1 addition & 1 deletion src/MagnumPlugins/AnyImageImporter/AnyImageImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,4 @@ Containers::Optional<ImageData3D> AnyImageImporter::doImage3D(const UnsignedInt
}}

CORRADE_PLUGIN_REGISTER(AnyImageImporter, Magnum::Trade::AnyImageImporter,
"cz.mosra.magnum.Trade.AbstractImporter/0.3.4")
"cz.mosra.magnum.Trade.AbstractImporter/0.4")
2 changes: 1 addition & 1 deletion src/MagnumPlugins/AnySceneImporter/AnySceneImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,4 +269,4 @@ Containers::Optional<ImageData3D> AnySceneImporter::doImage3D(const UnsignedInt
}}

CORRADE_PLUGIN_REGISTER(AnySceneImporter, Magnum::Trade::AnySceneImporter,
"cz.mosra.magnum.Trade.AbstractImporter/0.3.4")
"cz.mosra.magnum.Trade.AbstractImporter/0.4")
2 changes: 1 addition & 1 deletion src/MagnumPlugins/ObjImporter/ObjImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,4 +487,4 @@ Containers::Optional<MeshData> ObjImporter::doMesh(UnsignedInt id, UnsignedInt)
}}

CORRADE_PLUGIN_REGISTER(ObjImporter, Magnum::Trade::ObjImporter,
"cz.mosra.magnum.Trade.AbstractImporter/0.3.4")
"cz.mosra.magnum.Trade.AbstractImporter/0.4")
2 changes: 1 addition & 1 deletion src/MagnumPlugins/TgaImporter/TgaImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ Containers::Optional<ImageData2D> TgaImporter::doImage2D(UnsignedInt, UnsignedIn
}}

CORRADE_PLUGIN_REGISTER(TgaImporter, Magnum::Trade::TgaImporter,
"cz.mosra.magnum.Trade.AbstractImporter/0.3.4")
"cz.mosra.magnum.Trade.AbstractImporter/0.4")

0 comments on commit 4418bec

Please sign in to comment.