forked from qt-creator/qt-creator
Adds basic support for writing Plugins using the lua scripting language. Lua Plugins are registered just as native plugins are and can be enabled or disabled via the plugin dialog. see src/plugins/lua/README.md for further details. Change-Id: I9f4d15e9632c46e1c6c132bcd0bbcdd70b150640 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
15 lines
376 B
C
15 lines
376 B
C
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include <qglobal.h>
|
|
|
|
#if defined(LUA_LIBRARY)
|
|
# define LUA_EXPORT Q_DECL_EXPORT
|
|
#elif defined(LUA_STATIC_LIBRARY) // Abuse single files for manual tests
|
|
# define LUA_EXPORT
|
|
#else
|
|
# define LUA_EXPORT Q_DECL_IMPORT
|
|
#endif
|