Skip to content

Commit

Permalink
Trade: bump AbstractImporter interface version.
Browse files Browse the repository at this point in the history
With the previous commit, existing plugin implementations built
and ran against the new code, however it introduced an ABI break meaning
that existing plugin binaries would crash. This forces them to be
recompiled to match the new version string.
  • Loading branch information
mosra committed Sep 22, 2021
1 parent d590c35 commit ab2b0a9
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 @@ -66,7 +66,7 @@ namespace Magnum { namespace Trade {
std::string AbstractImporter::pluginInterface() {
return
/* [interface] */
"cz.mosra.magnum.Trade.AbstractImporter/0.3.3"
"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 @@ -279,4 +279,4 @@ Containers::Optional<ImageData3D> AnyImageImporter::doImage3D(const UnsignedInt
}}

CORRADE_PLUGIN_REGISTER(AnyImageImporter, Magnum::Trade::AnyImageImporter,
"cz.mosra.magnum.Trade.AbstractImporter/0.3.3")
"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 @@ -261,4 +261,4 @@ Containers::Optional<ImageData3D> AnySceneImporter::doImage3D(const UnsignedInt
}}

CORRADE_PLUGIN_REGISTER(AnySceneImporter, Magnum::Trade::AnySceneImporter,
"cz.mosra.magnum.Trade.AbstractImporter/0.3.3")
"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 @@ -486,4 +486,4 @@ Containers::Optional<MeshData> ObjImporter::doMesh(UnsignedInt id, UnsignedInt)
}}

CORRADE_PLUGIN_REGISTER(ObjImporter, Magnum::Trade::ObjImporter,
"cz.mosra.magnum.Trade.AbstractImporter/0.3.3")
"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 @@ -206,4 +206,4 @@ Containers::Optional<ImageData2D> TgaImporter::doImage2D(UnsignedInt, UnsignedIn
}}

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

0 comments on commit ab2b0a9

Please sign in to comment.