Skip to content

Commit cc5753d

Browse files
authored
Merge pull request #46 from popmonkey/version-in-output
include the version in the json output
2 parents 96c99ef + b91f2da commit cc5753d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/jres_json_converter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ JRES_SOLVER_API char* jres_output_to_json(const JresSolverOutput* output) {
143143

144144
try {
145145
json j;
146+
j["version"] = jres_get_version();
146147
j["schedule"] = json::array();
147148
for (int i = 0; i < output->schedule_len; ++i) {
148149
json entry;

0 commit comments

Comments
 (0)