v2.0.0
Loading...
Searching...
No Matches
mri_global.h File Reference

Export/import macros and build-info accessors for MRILIB. More...

#include <QtCore/qglobal.h>
#include <utils/buildinfo.h>
Include dependency graph for mri_global.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MRILIB
 Volume I/O, voxel geometry and slice resampling for structural MRI data inside mne-cpp.

Macros

#define MRISHARED_EXPORT

Functions

const char * MRILIB::buildDateTime ()
const char * MRILIB::buildHash ()
const char * MRILIB::buildHashLong ()

Detailed Description

Export/import macros and build-info accessors for MRILIB.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
February 2026

Provides the MRISHARED_EXPORT decorator used by every public symbol in the MRI library so that the same headers can be consumed by a shared-library build (Q_DECL_EXPORT when compiling MNE_MRI_LIBRARY, Q_DECL_IMPORT when linking against it) and a static build (empty decorator). Also exposes buildDateTime() and buildHash() for runtime provenance reporting — e.g. when mne_analyze prints the linked-library version table in its About dialog or when the registry validator in tools/validate_api_registry.py needs to confirm which MRI library snapshot is wired into a deployed binary.

Definition in file mri_global.h.

Macro Definition Documentation

◆ MRISHARED_EXPORT

#define MRISHARED_EXPORT

Definition at line 39 of file mri_global.h.