blob: d0a38ad30a20a410608d14d246fb321c1e25dd23 (
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
39
40
41
42
43
|
/** \file
* \brief IUP Canvas Lua 3 Binding
*
* See Copyright Notice in cd.h
*/
#include <stdlib.h>
#include <stdio.h>
#include <cd.h>
#include <cdiup.h>
#include <lua.h>
#include <lauxlib.h>
#include "iup.h"
#include "iuplua.h"
#include <cdlua.h>
#include <cdluaiup.h>
#include <cdlua3_private.h>
static void *cdiup_checkdata(int param)
{
return iuplua_checkihandle(param);
}
static cdContextLUA cdluaiupctx =
{
0,
"CD_IUP",
cdContextIup,
cdiup_checkdata,
NULL,
0
};
void cdluaiup_open(void)
{
cdlua_addcontext(&cdluaiupctx);
}
|