nngn
Loading...
Searching...
No Matches
register_test.h
Go to the documentation of this file.
1#ifndef NNGN_TESTS_LUA_REGISTER_H
2#define NNGN_TESTS_LUA_REGISTER_H
3
4#include <QTest>
5
6#include "lua/state.h"
7#include "lua/table.h"
8
9class RegisterTest : public QObject {
10 Q_OBJECT
14private slots:
15 void init(void);
16 void cleanup(void);
17 void user_type(void);
18 void meta_table(void);
19 void accessor(void);
20 void value_accessor(void);
21 void member_fn(void);
22};
23
24#endif
Definition: register_test.h:9
nngn::lua::global_table g
Definition: register_test.h:12
void value_accessor(void)
void accessor(void)
void cleanup(void)
void member_fn(void)
nngn::lua::table mt
Definition: register_test.h:13
void meta_table(void)
void user_type(void)
void init(void)
nngn::lua::state lua
Definition: register_test.h:11
Table interface to the global environment.
Definition: table.h:181
Owning lua_State wrapper.
Definition: state.h:166
Owning reference to a table on the stack, popped when destroyed.
Definition: table.h:172