McStas Readout Master
0.3.3
Loading...
Searching...
No Matches
readout_type_descriptions.h
Go to the documentation of this file.
1
// Copyright (C) 2026 European Spallation Source, ERIC. See LICENSE file
2
//===----------------------------------------------------------------------===//
13
//===----------------------------------------------------------------------===//
14
#pragma once
15
16
#include "enums.h"
17
18
#ifdef WIN32
19
// Export symbols if compile flags "READOUT_SHARED" and "READOUT_EXPORT" are set on Windows.
20
#ifdef READOUT_SHARED
21
#ifdef READOUT_EXPORT
22
#define RL_API __declspec(dllexport)
23
#else
24
#define RL_API __declspec(dllimport)
25
#endif
26
#else
27
// Disable definition if linking statically.
28
#define RL_API
29
#endif
30
#else
31
// Disable definition for non-Win32 systems.
32
#define RL_API
33
#endif
34
39
RL_API
const
char
*
readout_type_description
(ReadoutType readout);
readout_type_description
RL_API const char * readout_type_description(ReadoutType readout)
The canonical struct description for a sendable readout type.
readout_core
include
readout_type_descriptions.h
Generated by
1.9.8