tvg_format: force to check for compatibility by version comparision.
authorHermet Park <hermetpark@gmail.com>
Wed, 4 Aug 2021 06:31:06 +0000 (15:31 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 6 Aug 2021 01:04:06 +0000 (10:04 +0900)
commitf3f5e3ab4094ef8335f1225f420f5c57d9108c62
tree64856e5a106e1dac3b0a172af7d55a2fbb4b6c72
parent0f7f8d975057c4ba28e149a7037f9d3f930c4258
tvg_format: force to check for compatibility by version comparision.

tvg file stores the version info of thorvg when it's generated,
in order to compare it with the runtime thorvg version when it's loaded.

For this, thorvg builds up the current version of symbol on the initilaization step,
that can be referred by the tvg loader.
meson.build
src/lib/tvgCommon.h
src/lib/tvgInitializer.cpp
src/loaders/tvg/tvgTvgLoadParser.cpp
src/loaders/tvg/tvgTvgLoadParser.h
src/loaders/tvg/tvgTvgLoader.cpp
src/loaders/tvg/tvgTvgLoader.h
src/savers/tvg/tvgTvgSaver.cpp