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

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

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

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 ()

Detailed Description

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

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org; Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du
Since
0.1.0
Date
August 2012

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.

Macro Definition Documentation

◆ FIFFSHARED_EXPORT

#define FIFFSHARED_EXPORT

Definition at line 44 of file fiff_global.h.