Close menu
Start
Download
Getting Started
License
References
Jam Build Tool
Class Index
Namespaces
Modules
Pt
›
Documentation
Documentation
›
Get Platinum
≡
Class Index
Namespaces
Modules
include
Pt
Lua
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
21
namespace
Pt
{
22
30
namespace
Lua
{
31
32
class
Script
;
33
class
Context
;
34
class
Result
;
35
class
Call
;
36
class
AsyncCall
;
37
class
TypeManager
;
38
39
}
// namespace
40
41
}
// namespace
42
43
#endif
Pt::Lua::AsyncCall
Asynchronous native call from Lua.
Definition
AsyncCall.h:42
Pt::Lua::Call
Synchronous native call from Lua.
Definition
Call.h:38
Pt::Lua::Context
Lua state with a bound type catalog.
Definition
Context.h:53
Pt::Lua::Result
Result of a finished Lua script.
Definition
Result.h:31
Pt::Lua::Script
Lua script.
Definition
Script.h:73
Pt::Lua::TypeManager
Type catalog for Lua bindings.
Definition
TypeManager.h:51
Pt::Lua
Lua runtime and reflected bindings.
Pt
Core module.
Definition
Allocator.h:33