Export/import macros and build-info accessors for the FIFFLIB shared library. More...


Go to the source code of this file.
Namespaces | |
| namespace | FIFFLIB |
| FIFF file I/O, in-memory data structures and high-level readers/writers. | |
Macros | |
| #define | FIFFSHARED_EXPORT |
Functions | |
| const char * | FIFFLIB::buildDateTime () |
| const char * | FIFFLIB::buildHash () |
| const char * | FIFFLIB::buildHashLong () |
Export/import macros and build-info accessors for the FIFFLIB shared library.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2012-2026 MNE-CPP Authors
This header is included first by every public FIFFLIB symbol and is the only place where the Q_DECL_EXPORT / Q_DECL_IMPORT visibility decoration is chosen. STATICBUILD strips the decoration entirely so the same sources can be linked into a monolithic static archive (used for the WebAssembly build and for the all-in-one fat library on Windows).
The library also re-exports three string accessors backed by utils/buildinfo.h so that downstream tools can stamp the FIFF build identity (timestamp, short hash, long hash) into the FIFF FIFF_MNE_CREATOR and FIFF_PROC_HISTORY tags when writing files, keeping provenance with parity to MNE-Python's mne.__version__ field that lands in the same tags.
Definition in file fiff_global.h.
| #define FIFFSHARED_EXPORT |
Definition at line 44 of file fiff_global.h.