JSON API export version extra too

This commit is contained in:
Gioacchino Mazzurco 2018-09-15 21:53:46 +02:00
parent cd03953b1a
commit 43bc80de8e
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -117,6 +117,7 @@ JsonApiServer::JsonApiServer(
uint32_t major = RS_MAJOR_VERSION;
uint32_t minor = RS_MINOR_VERSION;
uint32_t mini = RS_MINI_VERSION;
std::string extra = RS_EXTRA_VERSION;
std::string human = RS_HUMAN_READABLE_VERSION;
RsGenericSerializer::SerializeContext& ctx(cAns);
@ -124,6 +125,7 @@ JsonApiServer::JsonApiServer(
RS_SERIAL_PROCESS(major);
RS_SERIAL_PROCESS(minor);
RS_SERIAL_PROCESS(mini);
RS_SERIAL_PROCESS(extra);
RS_SERIAL_PROCESS(human);
DEFAULT_API_CALL_JSON_RETURN(rb::OK);