Cog/ThirdParty/libprojectM/include/projectM-4/projectM_export.h
Christopher Snowhill 341e27b3b6 Visualization Experiment: Test out projectM
This was just an experiment, and was hashed in to test it out. It does
not look like it would be a very efficient thing to ship this in the
main app at all, especially since the collection of presets is so dang
huge. It was also never meant to replace the existing visualizations,
but instead as another option. One of the things from this branch will
make it into the final: Optional nullability of the Visualization
Manager parameters, since technically they're both checked on call.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2025-03-14 17:36:06 -07:00

42 lines
1 KiB
C

#ifndef PROJECTM_EXPORT_H
#define PROJECTM_EXPORT_H
#ifdef PROJECTM_STATIC_DEFINE
# define PROJECTM_EXPORT
# define PROJECTM_NO_EXPORT
#else
# ifndef PROJECTM_EXPORT
# ifdef projectM_api_EXPORTS
/* We are building this library */
# define PROJECTM_EXPORT __attribute__((visibility("default")))
# else
/* We are using this library */
# define PROJECTM_EXPORT __attribute__((visibility("default")))
# endif
# endif
# ifndef PROJECTM_NO_EXPORT
# define PROJECTM_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif
#ifndef PROJECTM_DEPRECATED
# define PROJECTM_DEPRECATED __attribute__ ((__deprecated__))
#endif
#ifndef PROJECTM_DEPRECATED_EXPORT
# define PROJECTM_DEPRECATED_EXPORT PROJECTM_EXPORT PROJECTM_DEPRECATED
#endif
#ifndef PROJECTM_DEPRECATED_NO_EXPORT
# define PROJECTM_DEPRECATED_NO_EXPORT PROJECTM_NO_EXPORT PROJECTM_DEPRECATED
#endif
#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef PROJECTM_NO_DEPRECATED
# define PROJECTM_NO_DEPRECATED
# endif
#endif
#endif /* PROJECTM_EXPORT_H */