Mercurial > hg > orthanc
comparison OrthancCppClient/SharedLibrary/AUTOGENERATED/OrthancCppClient.h @ 1034:7f748bac15e5 Orthanc-0.8.0
set version
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Jul 2014 15:56:47 +0200 |
parents | 7cbcd580cd21 |
children |
comparison
equal
deleted
inserted
replaced
1033:b24954e7ebfa | 1034:7f748bac15e5 |
---|---|
79 #include <stdlib.h> | 79 #include <stdlib.h> |
80 #include <dlfcn.h> | 80 #include <dlfcn.h> |
81 | 81 |
82 /* cf. http://sourceforge.net/p/predef/wiki/Architectures/ */ | 82 /* cf. http://sourceforge.net/p/predef/wiki/Architectures/ */ |
83 #ifdef __amd64__ | 83 #ifdef __amd64__ |
84 #define LAAW_ORTHANC_CLIENT_DEFAULT_PATH "libOrthancClient.so.0.7" | 84 #define LAAW_ORTHANC_CLIENT_DEFAULT_PATH "libOrthancClient.so.0.8" |
85 #else | 85 #else |
86 #define LAAW_ORTHANC_CLIENT_DEFAULT_PATH "libOrthancClient.so.0.7" | 86 #define LAAW_ORTHANC_CLIENT_DEFAULT_PATH "libOrthancClient.so.0.8" |
87 #endif | 87 #endif |
88 | 88 |
89 #define LAAW_ORTHANC_CLIENT_CALL_CONV | 89 #define LAAW_ORTHANC_CLIENT_CALL_CONV |
90 #define LAAW_ORTHANC_CLIENT_HANDLE_TYPE void* | 90 #define LAAW_ORTHANC_CLIENT_HANDLE_TYPE void* |
91 #define LAAW_ORTHANC_CLIENT_HANDLE_NULL NULL | 91 #define LAAW_ORTHANC_CLIENT_HANDLE_NULL NULL |
392 | 392 |
393 /** | 393 /** |
394 * It is assumed that the API does not change when the revision | 394 * It is assumed that the API does not change when the revision |
395 * number (MAJOR.MINOR.REVISION) changes. | 395 * number (MAJOR.MINOR.REVISION) changes. |
396 **/ | 396 **/ |
397 if (strcmp(getVersion(), "0.7")) | 397 if (strcmp(getVersion(), "0.8")) |
398 { | 398 { |
399 throw ::OrthancClient::OrthancClientException("Mismatch between the C++ header and the library version"); | 399 throw ::OrthancClient::OrthancClientException("Mismatch between the C++ header and the library version"); |
400 } | 400 } |
401 | 401 |
402 functionsIndex_[63] = LAAW_ORTHANC_CLIENT_GET_FUNCTION(handle_, "LAAW_EXTERNC_FreeString", "4"); | 402 functionsIndex_[63] = LAAW_ORTHANC_CLIENT_GET_FUNCTION(handle_, "LAAW_EXTERNC_FreeString", "4"); |