v2.0.0
Loading...
Searching...
No Matches
lsl_global.cpp File Reference

Trivial out-of-line definitions for the LSLLIB build-stamp accessors declared in lsl_global.h. More...

#include "lsl_global.h"
Include dependency graph for lsl_global.cpp:

Go to the source code of this file.

Detailed Description

Trivial out-of-line definitions for the LSLLIB build-stamp accessors declared in lsl_global.h.

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

The three buildDateTime / buildHash / buildHashLong functions are intentionally implemented in a dedicated translation unit rather than inlined in the header. This forces them to be recompiled (and therefore re-stamped with the current value of UTILSLIB::dateTimeNow and UTILSLIB::gitHash) every time the LSL library is rebuilt, which is what allows the version dialogs of downstream applications to report the exact commit and build timestamp of the LSL stack they were linked against.

Definition in file lsl_global.cpp.