NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
export.hpp
Go to the documentation of this file.
1// Copyright 2026 Aniket Kulkarni
2// SPDX-License-Identifier: Apache-2.0
3
6
7#pragma once
8
9#if defined(_WIN32) && defined(NEURALPLUS_SHARED)
10#if defined(NEURALPLUS_BUILDING_LIBRARY)
11#define NEURALPLUS_API __declspec(dllexport)
12#else
13#define NEURALPLUS_API __declspec(dllimport)
14#endif
15#elif defined(__GNUC__) && defined(NEURALPLUS_SHARED)
16#define NEURALPLUS_API __attribute__((visibility("default")))
17#else
18#define NEURALPLUS_API
19#endif