Initial autotools support: not the project is fully independent
[adg-lua.git] / adg / adg.ovr
blob487f533cfdcefcbee91eac1956e42c01b844422f
1 -- Include the generated definitions
2 include('adg.def')
4 defName = 'adg'
6 defType('AdgPair', {
7 })
8 defFunction('adg_pair_new', {
9     class = 'AdgPair',
10     constructor = true,
11     since = '1.0',
12     ret = 'struct* none'
14 defOverride('adg_pair_new', [[
15     special_type_new(L, "adgPairMT", g_new0(AdgPair, 1));
16     return 1;
17 ]])
19 defType('AdgMatrix', {
21 defFunction('adg_matrix_new', {
22     class = 'AdgMatrix',
23     constructor = true,
24     since = '1.0',
25     ret = 'struct* none'
27 defOverride('adg_matrix_new', [[
28     AdgMatrix *matrix = g_new(AdgMatrix, 1);
29     cairo_matrix_init_identity(matrix);
30     special_type_new(L, "adgMatrixMT", matrix);
31     return 1;
32 ]])
34 Types['gboolean none'] = Types['boolean none']
35 Types['gint none'] = Types['int none']
36 Types['gulong none'] = Types['unsigned long none']
37 Types['gdouble none'] = Types['double none']
38 Types['gchar* none'] = Types['char* none']
39 Types['AdgDress none'] = Types['int none']
41 --fixVersion('adg_entity_set_local_map', '1.0', nil, '99.0')
42 --defFunctions['adg_entity_set_local_map'].accessorSince = nil