Api.h
1/* Copyright (C) 2020-2026 by Marc Boris Duerner
2 SPDX-License-Identifier: LGPL-2.1-or-later WITH mif-exception
3*/
4
5#ifndef PT_LUA_API_H
6#define PT_LUA_API_H
7
8#include <Pt/Api.h>
9
10#define PT_LUA_VERSION_MAJOR PT_VERSION_MAJOR
11#define PT_LUA_VERSION_MINOR PT_VERSION_MINOR
12#define PT_LUA_VERSION_REVISION PT_VERSION_REVISION
13#define PT_LUA_VERSION_PRERELEASE PT_VERSION_PRERELEASE
14
15#if defined(PT_LUA_API_EXPORT)
16# define PT_LUA_API PT_EXPORT
17# else
18# define PT_LUA_API PT_IMPORT
19# endif
20
21namespace Pt {
22
30namespace Lua {
31
32class Script;
33class Context;
34class Result;
35class Call;
36class AsyncCall;
37class TypeManager;
38
39} // namespace
40
41} // namespace
42
43#endif
Asynchronous native call from Lua.
Definition AsyncCall.h:42
Synchronous native call from Lua.
Definition Call.h:38
Lua state with a bound type catalog.
Definition Context.h:53
Result of a finished Lua script.
Definition Result.h:31
Lua script.
Definition Script.h:73
Type catalog for Lua bindings.
Definition TypeManager.h:51
Lua runtime and reflected bindings.
Core module.
Definition Allocator.h:33