summaryrefslogtreecommitdiff
path: root/include/cdluagl.h
blob: 412d745c3db18cc41cee94daa90050f1a0ee6b80 (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
/** \file
 * \brief OpenGL Canvas Lua Binding
 *
 * See Copyright Notice in cd.h
 */

#ifndef __CD_LUAGL_H
#define __CD_LUAGL_H

#ifdef __cplusplus
extern "C" {
#endif

#ifdef LUA_NOOBJECT  /* Lua 3 */
void cdluagl_open(void);
#endif

#ifdef LUA_TNONE  /* Lua 5 */
int cdluagl_open(lua_State *L);
#endif

#ifdef __cplusplus
}
#endif

#endif