blob: 4dfd794d48e45f037f2c5d653e459835cc1f9eee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// -*- C++ -*-
#ifndef QTTORCH_H
#define QTTORCH_H
extern "C" {
#include "lua.h"
#include "lauxlib.h"
}
#include "qtluaengine.h"
#include "qtluautils.h"
#ifdef _WIN32
# ifdef libqttorch_EXPORTS
# define QTTORCH_API __declspec(dllexport)
# else
# define QTTORCH_API __declspec(dllimport)
# endif
#else
# define QTTORCH_API /**/
#endif
#define LUA_EXTERNC extern "C"
LUA_EXTERNC QTTORCH_API int luaopen_libqttorch(lua_State *L);
#endif
/* -------------------------------------------------------------
Local Variables:
c++-font-lock-extra-types: ("\\sw+_t" "\\(lua_\\)?[A-Z]\\sw*[a-z]\\sw*")
End:
------------------------------------------------------------- */
|