DI-Guy SDK Documentation
13.7
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
diguy_module_script_lua.h
Go to the documentation of this file.
1
2
/*********************************************************************
3
** Copyright (c) 1992-2022 MAK Technologies, Inc.
4
** All rights reserved.
5
*********************************************************************/
6
7
/*********************************************************************
8
**
9
*t DI-Guy API, Lua Script Module
10
**
11
*b Link against: libdiguy_module_script_lua
12
*/
13
14
#ifndef __diguy_module_script_lua_H
15
#define __diguy_module_script_lua_H
16
17
extern
"C"
{
18
19
#include <
declspec_diguy.h
>
20
21
/*****************************************************************************
22
**
23
*2 Functions
24
**
25
*/
26
27
/*l
28
*b Description:
29
**
30
** This function tells DI-Guy that it should use the Lua
31
** interpreter for interpreting scripts. It should be called
32
** along with the other diguy_*_initialize() calls, after the
33
** primary graphics initialization is made.
34
**
35
*b Returns:
36
**
37
** 0 on success, -1 on failure
38
**
39
*b Example:
40
**
41
*e diguy_ogl_initialize(NULL);
42
*e diguy_script_lua_initialize();
43
*/
44
BDI_DECLSPEC_diguy
45
int
diguy_script_lua_initialize
();
46
47
48
/*l
49
*b Description:
50
**
51
** This function tells DI-Guy that it should shut down the Lua
52
** interpreter for interpreting scripts. It should be called
53
** along with the other diguy_*_deinitialize() calls, before
54
** the primary diguy_deinitialize() call.
55
**
56
*b Returns:
57
**
58
** 0 on success, -1 on failure
59
**
60
*b Example:
61
**
62
*e diguy_script_lua_deinitialize();
63
*e diguy_deinitialize();
64
*/
65
BDI_DECLSPEC_diguy
66
int
diguy_script_lua_deinitialize
();
67
68
}
/* end extern "C" */
69
70
#endif
/* __diguy_module_script_lua_H */
71
72
73
/*********************************************************************
74
** Copyright (c) 1992-2022 MAK Technologies, Inc.
75
** All rights reserved.
76
*********************************************************************/
77
diguy_script_lua_initialize
int diguy_script_lua_initialize()
This function tells DI-Guy that it should use the Lua interpreter for interpreting scripts...
declspec_diguy.h
diguy_script_lua_deinitialize
int diguy_script_lua_deinitialize()
This function tells DI-Guy that it should shut down the Lua interpreter for interpreting scripts...
include
diguy_module_script_lua.h
Generated on Thu Mar 28 2024 22:08:25 for DI-Guy SDK Documentation by
1.8.9.1