LSST Applications 24.1.0,g009b5efdf7+c6932254d0,g0530b470b1+c6932254d0,g1011452fe8+91250f09a0,g131b30d954+f6e951a35a,g1e66b94187+416cc91f11,g2f36b36c37+6b96805cb3,g315bf1e6db+497b502411,g3b78743a05+c69886b81d,g3f8e1907dc+2986c7237a,g498fc93c42+366e3667d5,g4e8ce4af8a+d61c1479ad,g4f742bbdcc+c6932254d0,g620d7167b4+c9731a2194,g7750d4b5ea+f0a1800e64,g7d20b33f1e+2e4319cab9,g807e3ba568+f84f5c0727,g8479130295+36d3522aec,g883b199ddb+366e3667d5,g925d670809+f1523b3439,ga1d33178ee+c6932254d0,ga850d4fe91+416cc91f11,ga8547c2492+feacecf5fe,gaa9e307f6b+de2e8d6e75,gab650310a1+366e3667d5,gb34e52d7d4+416cc91f11,gb469cb74ca+8566bf350b,gb94f486bb8+dfcf4c526b,gc25e22d396+27a4e0517b,gc3c1122503+416cc91f11,gca804b0f43+f0a1800e64,gd4112516d0+c6932254d0,gd630573b98+c6932254d0,ge482522685+b500e6e25f,gee1b1095dd+1c688b154e
LSST Data Management Base Package
Loading...
Searching...
No Matches
Macros
base.h File Reference

Basic LSST definitions. More...

#include <memory>

Go to the source code of this file.

Macros

#define LSST_EXPORT   __attribute__ ((visibility("default")))
 Make a symbol visible even if visiblity is hidden (e.g. More...
 
#define LSST_PRIVATE   __attribute__ ((visibility("hidden")))
 Make a symbol hidden even if default visiblity is public. More...
 

Detailed Description

Basic LSST definitions.

Definition in file base.h.

Macro Definition Documentation

◆ LSST_EXPORT

#define LSST_EXPORT   __attribute__ ((visibility("default")))

Make a symbol visible even if visiblity is hidden (e.g.

for pybind11 modules)

This implementation works for gcc and clang; it has not been tested for other compilers

Definition at line 37 of file base.h.

◆ LSST_PRIVATE

#define LSST_PRIVATE   __attribute__ ((visibility("hidden")))

Make a symbol hidden even if default visiblity is public.

This implementation works for gcc and clang; it has not been tested for other compilers.

This macro should be used for most utility code for pybind11 wrapping (at least non-template, non-inline code). It can also be used in non-pybind11 code to make a symbol private to a library without also forcing it to be private to a single source file.

Definition at line 49 of file base.h.