mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-17 18:57:10 +00:00
[reorg]: Move api/sixtyfps-rs/sixtyfps-* into api/rs
This commit is contained in:
parent
2813441cd9
commit
842f75e653
95 changed files with 65 additions and 72 deletions
26
api/cpp/include/sixtyfps_config.h
Normal file
26
api/cpp/include/sixtyfps_config.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
|
||||
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#if UINTPTR_MAX == 0xFFFFFFFF
|
||||
# define SIXTYFPS_TARGET_32
|
||||
#elif UINTPTR_MAX == 0xFFFFFFFFFFFFFFFFu
|
||||
# define SIXTYFPS_TARGET_64
|
||||
#endif
|
||||
|
||||
#if !defined(DOXYGEN)
|
||||
# if defined(_MSC_VER)
|
||||
# define SIXTYFPS_DLL_IMPORT __declspec(dllimport)
|
||||
# elif defined(__GNUC__)
|
||||
# if defined(_WIN32) || defined(_WIN64)
|
||||
# define SIXTYFPS_DLL_IMPORT __declspec(dllimport)
|
||||
# else
|
||||
# define SIXTYFPS_DLL_IMPORT __attribute__((visibility("default")))
|
||||
# endif
|
||||
# else
|
||||
# define SIXTYFPS_DLL_IMPORT
|
||||
# endif
|
||||
#endif // !defined(DOXYGEN)
|
||||
Loading…
Add table
Add a link
Reference in a new issue