WOWCube Docs logo
WOWCube Docs
Mission Control
Section Shortcuts
APIExamplesSourceWOWConnectChangelog
Filters
SDK and language defaults persist in cookies.
SDK version
Navigation Tree
Collapsed by default, focused on the active path.
Made byMcKay Seamons
GitHub
  1. Home
  2. Docs
  3. Source
  4. native access.h
Mission NodeSDK 6.2C++native_access.h

native access.h

SDK Source File: native_access.h

Source / SDK 6.2 / C++ / Core

native_access.h

native access.h
CPP
1/* Copyright Statement:
2 *
3 * (C) 2021-2024 Cubios Inc. All rights reserved.
4 */
5
6#pragma once
7
8#ifndef _WIN32
9#define VISIBILITY __attribute__((used)) __attribute__((visibility ("default")))
10#else
11#define VISIBILITY
12#endif
13
14#if !defined(__EMSCRIPTEN__) && defined(_WIN32)
15 #define WASM_DLL_EXPORT __declspec( dllexport )
16#else
17 #define WASM_DLL_EXPORT
18#endif
19
20#ifdef __cplusplus
21 #define WASM_EXPORT extern "C" VISIBILITY WASM_DLL_EXPORT
22#else
23 #define WASM_EXPORT extern VISIBILITY
24#endif
25
26// #define WASM_IMPORT(MODULE,NAME) __attribute__((import_module(MODULE))) __attribute__((import_name(NAME)))
27#define WASM_IMPORT(NAME) __attribute__((import_name(NAME)))
28
29
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.
Context Rail

Related nodes

AppManager.cpp
Source / SDK 6.2 / C++ / Core
AppManager.h
Source / SDK 6.2 / C++ / Core
Gfx.h
Source / SDK 6.2 / C++ / Core
native defines.h
Source / SDK 6.2 / C++ / Core
Previous Node
Vec2.h
Source / SDK 6.2 / C++ / math
Next Node
native defines.h
Source / SDK 6.2 / C++ / Core