/*
 * SPDX-FileCopyrightText: 2020~2020 CSSlayer <wengxt@gmail.com>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 *
 */
#ifndef _FCITX5_LUA_CONFIG_H_
#define _FCITX5_LUA_CONFIG_H_


#define LUA_LIBRARY_PATH "liblua.so.5.5"
#define USE_DLOPEN

#ifdef USE_DLOPEN
#include <fcitx-utils/library.h>
#else
#include <cstddef>
#endif

namespace fcitx {
#ifdef USE_DLOPEN
using LibraryPtr = fcitx::Library*;
#else
using LibraryPtr = std::nullptr_t;
#endif

}

#endif // _FCITX5_LUA_CONFIG_H_
