Mercurial > hg > orthanc
view Resources/WebAssembly/ArithmeticTests/Run2.cpp @ 3571:fa982a45062b
Merged in TomasZubiri/orthanc-1/Tomas-Zubiri/replaced-broken-url-with-url-from-waybac-1573762425576 (pull request #11)
Replaced broken url with url from wayback archive
author | Sébastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 Nov 2019 07:32:26 +0000 |
parents | 04873915beaf |
children |
line wrap: on
line source
#include <iostream> #include <emscripten/emscripten.h> extern "C" { void EMSCRIPTEN_KEEPALIVE Run2() { // This stuff is not properly discovered by DCMTK 3.6.2 configuration scripts std::cerr << std::endl << std::endl; std::cerr << "/**" << std::endl; std::cerr << "#define SIZEOF_CHAR " << sizeof(char) << std::endl; std::cerr << "#define SIZEOF_DOUBLE " << sizeof(double) << std::endl; std::cerr << "#define SIZEOF_FLOAT " << sizeof(float) << std::endl; std::cerr << "#define SIZEOF_INT " << sizeof(int) << std::endl; std::cerr << "#define SIZEOF_LONG " << sizeof(long) << std::endl; std::cerr << "#define SIZEOF_SHORT " << sizeof(short) << std::endl; std::cerr << "#define SIZEOF_VOID_P " << sizeof(void*) << std::endl; std::cerr << "#define C_CHAR_UNSIGNED " << (!std::is_signed<char>()) << std::endl; std::cerr << "**/" << std::endl; std::cerr << std::endl << std::endl; } }