Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 147042 | Differences between
and this patch

Collapse All | Expand All

(-)script/lua.org/luainterface.cpp (-6 / +7 lines)
Lines 1-6 Link Here
1
#include "luainterface.h"
1
#include "luainterface.h"
2
#include "../scriptengine.h"
2
#include "../scriptengine.h"
3
#include <tolua.h>
3
#include <tolua++.h>
4
#include <string.h>
4
#include <string.h>
5
5
6
#include "../controlobject.h"
6
#include "../controlobject.h"
Lines 18-28 Link Here
18
	qDebug("Creating Lua interpreter...");
18
	qDebug("Creating Lua interpreter...");
19
	m_L = lua_open();
19
	m_L = lua_open();
20
	
20
	
21
	luaopen_base(m_L);
21
	//luaopen_base(m_L);
22
	luaopen_table(m_L);
22
	//luaopen_table(m_L);
23
	luaopen_io(m_L);
23
	//luaopen_io(m_L);
24
	luaopen_string(m_L);
24
	//luaopen_string(m_L);
25
	luaopen_math(m_L);
25
	//luaopen_math(m_L);
26
	luaL_openlibs(m_L);
26
	
27
	
27
	tolua_mixxx_open(m_L);
28
	tolua_mixxx_open(m_L);
28
	
29
	
(-)script/lua.org/tolua.cpp (-179 / +225 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
** Lua binding: mixxx
2
** Lua binding: mixxx
3
** Generated automatically by tolua 5.0a on Sun Feb 19 16:28:07 2006.
3
** Generated automatically by tolua++-1.0.92 on Tue Oct  2 09:46:57 2007.
4
*/
4
*/
5
5
6
#ifndef __cplusplus
6
#ifndef __cplusplus
Lines 8-17 Link Here
8
#endif
8
#endif
9
#include "string.h"
9
#include "string.h"
10
10
11
#include "tolua.h"
11
#include "tolua++.h"
12
12
13
/* Exported function */
13
/* Exported function */
14
TOLUA_API int tolua_mixxx_open (lua_State* tolua_S);
14
TOLUA_API int  tolua_mixxx_open (lua_State* tolua_S);
15
15
16
#include "../playinterface.h"
16
#include "../playinterface.h"
17
#include "../scriptengine.h"
17
#include "../scriptengine.h"
Lines 23-47 Link Here
23
}
23
}
24
24
25
/* method: test of class  PlayInterface */
25
/* method: test of class  PlayInterface */
26
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_test00
26
static int tolua_mixxx_PlayInterface_test00(lua_State* tolua_S)
27
static int tolua_mixxx_PlayInterface_test00(lua_State* tolua_S)
27
{
28
{
28
#ifndef TOLUA_RELEASE
29
#ifndef TOLUA_RELEASE
29
 tolua_Error tolua_err;
30
 tolua_Error tolua_err;
30
 if (
31
 if (
31
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
32
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
32
 !tolua_isnoobj(tolua_S,2,&tolua_err)
33
     !tolua_isnoobj(tolua_S,2,&tolua_err)
33
 )
34
 )
34
 goto tolua_lerror;
35
  goto tolua_lerror;
35
 else
36
 else
36
#endif
37
#endif
37
 {
38
 {
38
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
39
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
39
#ifndef TOLUA_RELEASE
40
#ifndef TOLUA_RELEASE
40
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'test'",NULL);
41
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'test'",NULL);
41
#endif
42
#endif
42
 {
43
  {
43
  self->test();
44
   self->test();
44
 }
45
  }
45
 }
46
 }
46
 return 0;
47
 return 0;
47
#ifndef TOLUA_RELEASE
48
#ifndef TOLUA_RELEASE
Lines 50-78 Link Here
50
 return 0;
51
 return 0;
51
#endif
52
#endif
52
}
53
}
54
#endif //#ifndef TOLUA_DISABLE
53
55
54
/* method: stop of class  PlayInterface */
56
/* method: stop of class  PlayInterface */
57
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_stop00
55
static int tolua_mixxx_PlayInterface_stop00(lua_State* tolua_S)
58
static int tolua_mixxx_PlayInterface_stop00(lua_State* tolua_S)
56
{
59
{
57
#ifndef TOLUA_RELEASE
60
#ifndef TOLUA_RELEASE
58
 tolua_Error tolua_err;
61
 tolua_Error tolua_err;
59
 if (
62
 if (
60
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
63
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
61
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
64
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
62
 !tolua_isnoobj(tolua_S,3,&tolua_err)
65
     !tolua_isnoobj(tolua_S,3,&tolua_err)
63
 )
66
 )
64
 goto tolua_lerror;
67
  goto tolua_lerror;
65
 else
68
 else
66
#endif
69
#endif
67
 {
70
 {
68
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
71
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
69
  int channel = ((int)  tolua_tonumber(tolua_S,2,0));
72
  int channel = ((int)  tolua_tonumber(tolua_S,2,0));
70
#ifndef TOLUA_RELEASE
73
#ifndef TOLUA_RELEASE
71
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'stop'",NULL);
74
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'stop'",NULL);
72
#endif
75
#endif
73
 {
76
  {
74
  self->stop(channel);
77
   self->stop(channel);
75
 }
78
  }
76
 }
79
 }
77
 return 0;
80
 return 0;
78
#ifndef TOLUA_RELEASE
81
#ifndef TOLUA_RELEASE
Lines 81-109 Link Here
81
 return 0;
84
 return 0;
82
#endif
85
#endif
83
}
86
}
87
#endif //#ifndef TOLUA_DISABLE
84
88
85
/* method: play of class  PlayInterface */
89
/* method: play of class  PlayInterface */
90
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_play00
86
static int tolua_mixxx_PlayInterface_play00(lua_State* tolua_S)
91
static int tolua_mixxx_PlayInterface_play00(lua_State* tolua_S)
87
{
92
{
88
#ifndef TOLUA_RELEASE
93
#ifndef TOLUA_RELEASE
89
 tolua_Error tolua_err;
94
 tolua_Error tolua_err;
90
 if (
95
 if (
91
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
96
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
92
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
97
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
93
 !tolua_isnoobj(tolua_S,3,&tolua_err)
98
     !tolua_isnoobj(tolua_S,3,&tolua_err)
94
 )
99
 )
95
 goto tolua_lerror;
100
  goto tolua_lerror;
96
 else
101
 else
97
#endif
102
#endif
98
 {
103
 {
99
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
104
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
100
  int channel = ((int)  tolua_tonumber(tolua_S,2,0));
105
  int channel = ((int)  tolua_tonumber(tolua_S,2,0));
101
#ifndef TOLUA_RELEASE
106
#ifndef TOLUA_RELEASE
102
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'play'",NULL);
107
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'play'",NULL);
103
#endif
108
#endif
104
 {
109
  {
105
  self->play(channel);
110
   self->play(channel);
106
 }
111
  }
107
 }
112
 }
108
 return 0;
113
 return 0;
109
#ifndef TOLUA_RELEASE
114
#ifndef TOLUA_RELEASE
Lines 112-140 Link Here
112
 return 0;
117
 return 0;
113
#endif
118
#endif
114
}
119
}
120
#endif //#ifndef TOLUA_DISABLE
115
121
116
/* method: setFader of class  PlayInterface */
122
/* method: setFader of class  PlayInterface */
123
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_setFader00
117
static int tolua_mixxx_PlayInterface_setFader00(lua_State* tolua_S)
124
static int tolua_mixxx_PlayInterface_setFader00(lua_State* tolua_S)
118
{
125
{
119
#ifndef TOLUA_RELEASE
126
#ifndef TOLUA_RELEASE
120
 tolua_Error tolua_err;
127
 tolua_Error tolua_err;
121
 if (
128
 if (
122
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
129
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
123
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
130
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
124
 !tolua_isnoobj(tolua_S,3,&tolua_err)
131
     !tolua_isnoobj(tolua_S,3,&tolua_err)
125
 )
132
 )
126
 goto tolua_lerror;
133
  goto tolua_lerror;
127
 else
134
 else
128
#endif
135
#endif
129
 {
136
 {
130
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
137
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
131
  double fade = ((double)  tolua_tonumber(tolua_S,2,0));
138
  double fade = ((double)  tolua_tonumber(tolua_S,2,0));
132
#ifndef TOLUA_RELEASE
139
#ifndef TOLUA_RELEASE
133
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setFader'",NULL);
140
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setFader'",NULL);
134
#endif
141
#endif
135
 {
142
  {
136
  self->setFader(fade);
143
   self->setFader(fade);
137
 }
144
  }
138
 }
145
 }
139
 return 0;
146
 return 0;
140
#ifndef TOLUA_RELEASE
147
#ifndef TOLUA_RELEASE
Lines 143-171 Link Here
143
 return 0;
150
 return 0;
144
#endif
151
#endif
145
}
152
}
153
#endif //#ifndef TOLUA_DISABLE
146
154
147
/* method: setTag of class  PlayInterface */
155
/* method: setTag of class  PlayInterface */
156
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_setTag00
148
static int tolua_mixxx_PlayInterface_setTag00(lua_State* tolua_S)
157
static int tolua_mixxx_PlayInterface_setTag00(lua_State* tolua_S)
149
{
158
{
150
#ifndef TOLUA_RELEASE
159
#ifndef TOLUA_RELEASE
151
 tolua_Error tolua_err;
160
 tolua_Error tolua_err;
152
 if (
161
 if (
153
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
162
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
154
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
163
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
155
 !tolua_isnoobj(tolua_S,3,&tolua_err)
164
     !tolua_isnoobj(tolua_S,3,&tolua_err)
156
 )
165
 )
157
 goto tolua_lerror;
166
  goto tolua_lerror;
158
 else
167
 else
159
#endif
168
#endif
160
 {
169
 {
161
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
170
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
162
  int tag = ((int)  tolua_tonumber(tolua_S,2,0));
171
  int tag = ((int)  tolua_tonumber(tolua_S,2,0));
163
#ifndef TOLUA_RELEASE
172
#ifndef TOLUA_RELEASE
164
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setTag'",NULL);
173
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'setTag'",NULL);
165
#endif
174
#endif
166
 {
175
  {
167
  self->setTag(tag);
176
   self->setTag(tag);
168
 }
177
  }
169
 }
178
 }
170
 return 0;
179
 return 0;
171
#ifndef TOLUA_RELEASE
180
#ifndef TOLUA_RELEASE
Lines 174-200 Link Here
174
 return 0;
183
 return 0;
175
#endif
184
#endif
176
}
185
}
186
#endif //#ifndef TOLUA_DISABLE
177
187
178
/* method: clearTag of class  PlayInterface */
188
/* method: clearTag of class  PlayInterface */
189
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_clearTag00
179
static int tolua_mixxx_PlayInterface_clearTag00(lua_State* tolua_S)
190
static int tolua_mixxx_PlayInterface_clearTag00(lua_State* tolua_S)
180
{
191
{
181
#ifndef TOLUA_RELEASE
192
#ifndef TOLUA_RELEASE
182
 tolua_Error tolua_err;
193
 tolua_Error tolua_err;
183
 if (
194
 if (
184
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
195
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
185
 !tolua_isnoobj(tolua_S,2,&tolua_err)
196
     !tolua_isnoobj(tolua_S,2,&tolua_err)
186
 )
197
 )
187
 goto tolua_lerror;
198
  goto tolua_lerror;
188
 else
199
 else
189
#endif
200
#endif
190
 {
201
 {
191
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
202
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
192
#ifndef TOLUA_RELEASE
203
#ifndef TOLUA_RELEASE
193
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'clearTag'",NULL);
204
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'clearTag'",NULL);
194
#endif
205
#endif
195
 {
206
  {
196
  self->clearTag();
207
   self->clearTag();
197
 }
208
  }
198
 }
209
 }
199
 return 0;
210
 return 0;
200
#ifndef TOLUA_RELEASE
211
#ifndef TOLUA_RELEASE
Lines 203-229 Link Here
203
 return 0;
214
 return 0;
204
#endif
215
#endif
205
}
216
}
217
#endif //#ifndef TOLUA_DISABLE
206
218
207
/* method: kill of class  PlayInterface */
219
/* method: kill of class  PlayInterface */
220
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_kill00
208
static int tolua_mixxx_PlayInterface_kill00(lua_State* tolua_S)
221
static int tolua_mixxx_PlayInterface_kill00(lua_State* tolua_S)
209
{
222
{
210
#ifndef TOLUA_RELEASE
223
#ifndef TOLUA_RELEASE
211
 tolua_Error tolua_err;
224
 tolua_Error tolua_err;
212
 if (
225
 if (
213
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
226
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
214
 !tolua_isnoobj(tolua_S,2,&tolua_err)
227
     !tolua_isnoobj(tolua_S,2,&tolua_err)
215
 )
228
 )
216
 goto tolua_lerror;
229
  goto tolua_lerror;
217
 else
230
 else
218
#endif
231
#endif
219
 {
232
 {
220
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
233
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
221
#ifndef TOLUA_RELEASE
234
#ifndef TOLUA_RELEASE
222
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'kill'",NULL);
235
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'kill'",NULL);
223
#endif
236
#endif
224
 {
237
  {
225
  self->kill();
238
   self->kill();
226
 }
239
  }
227
 }
240
 }
228
 return 0;
241
 return 0;
229
#ifndef TOLUA_RELEASE
242
#ifndef TOLUA_RELEASE
Lines 232-260 Link Here
232
 return 0;
245
 return 0;
233
#endif
246
#endif
234
}
247
}
248
#endif //#ifndef TOLUA_DISABLE
235
249
236
/* method: killTag of class  PlayInterface */
250
/* method: killTag of class  PlayInterface */
251
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_killTag00
237
static int tolua_mixxx_PlayInterface_killTag00(lua_State* tolua_S)
252
static int tolua_mixxx_PlayInterface_killTag00(lua_State* tolua_S)
238
{
253
{
239
#ifndef TOLUA_RELEASE
254
#ifndef TOLUA_RELEASE
240
 tolua_Error tolua_err;
255
 tolua_Error tolua_err;
241
 if (
256
 if (
242
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
257
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
243
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
258
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
244
 !tolua_isnoobj(tolua_S,3,&tolua_err)
259
     !tolua_isnoobj(tolua_S,3,&tolua_err)
245
 )
260
 )
246
 goto tolua_lerror;
261
  goto tolua_lerror;
247
 else
262
 else
248
#endif
263
#endif
249
 {
264
 {
250
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
265
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
251
  int tag = ((int)  tolua_tonumber(tolua_S,2,0));
266
  int tag = ((int)  tolua_tonumber(tolua_S,2,0));
252
#ifndef TOLUA_RELEASE
267
#ifndef TOLUA_RELEASE
253
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'killTag'",NULL);
268
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'killTag'",NULL);
254
#endif
269
#endif
255
 {
270
  {
256
  self->killTag(tag);
271
   self->killTag(tag);
257
 }
272
  }
258
 }
273
 }
259
 return 0;
274
 return 0;
260
#ifndef TOLUA_RELEASE
275
#ifndef TOLUA_RELEASE
Lines 263-290 Link Here
263
 return 0;
278
 return 0;
264
#endif
279
#endif
265
}
280
}
281
#endif //#ifndef TOLUA_DISABLE
266
282
267
/* method: getFader of class  PlayInterface */
283
/* method: getFader of class  PlayInterface */
284
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_getFader00
268
static int tolua_mixxx_PlayInterface_getFader00(lua_State* tolua_S)
285
static int tolua_mixxx_PlayInterface_getFader00(lua_State* tolua_S)
269
{
286
{
270
#ifndef TOLUA_RELEASE
287
#ifndef TOLUA_RELEASE
271
 tolua_Error tolua_err;
288
 tolua_Error tolua_err;
272
 if (
289
 if (
273
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
290
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
274
 !tolua_isnoobj(tolua_S,2,&tolua_err)
291
     !tolua_isnoobj(tolua_S,2,&tolua_err)
275
 )
292
 )
276
 goto tolua_lerror;
293
  goto tolua_lerror;
277
 else
294
 else
278
#endif
295
#endif
279
 {
296
 {
280
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
297
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
281
#ifndef TOLUA_RELEASE
298
#ifndef TOLUA_RELEASE
282
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getFader'",NULL);
299
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getFader'",NULL);
283
#endif
300
#endif
284
 {
301
  {
285
  double tolua_ret = (double)  self->getFader();
302
   double tolua_ret = (double)  self->getFader();
286
 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
303
   tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
287
 }
304
  }
288
 }
305
 }
289
 return 1;
306
 return 1;
290
#ifndef TOLUA_RELEASE
307
#ifndef TOLUA_RELEASE
Lines 293-311 Link Here
293
 return 0;
310
 return 0;
294
#endif
311
#endif
295
}
312
}
313
#endif //#ifndef TOLUA_DISABLE
296
314
297
/* method: getValue of class  PlayInterface */
315
/* method: getValue of class  PlayInterface */
316
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_getValue00
298
static int tolua_mixxx_PlayInterface_getValue00(lua_State* tolua_S)
317
static int tolua_mixxx_PlayInterface_getValue00(lua_State* tolua_S)
299
{
318
{
300
#ifndef TOLUA_RELEASE
319
#ifndef TOLUA_RELEASE
301
 tolua_Error tolua_err;
320
 tolua_Error tolua_err;
302
 if (
321
 if (
303
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
322
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
304
 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
323
     !tolua_isstring(tolua_S,2,0,&tolua_err) ||
305
 !tolua_isstring(tolua_S,3,0,&tolua_err) ||
324
     !tolua_isstring(tolua_S,3,0,&tolua_err) ||
306
 !tolua_isnoobj(tolua_S,4,&tolua_err)
325
     !tolua_isnoobj(tolua_S,4,&tolua_err)
307
 )
326
 )
308
 goto tolua_lerror;
327
  goto tolua_lerror;
309
 else
328
 else
310
#endif
329
#endif
311
 {
330
 {
Lines 313-324 Link Here
313
  const char* group = ((const char*)  tolua_tostring(tolua_S,2,0));
332
  const char* group = ((const char*)  tolua_tostring(tolua_S,2,0));
314
  const char* name = ((const char*)  tolua_tostring(tolua_S,3,0));
333
  const char* name = ((const char*)  tolua_tostring(tolua_S,3,0));
315
#ifndef TOLUA_RELEASE
334
#ifndef TOLUA_RELEASE
316
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getValue'",NULL);
335
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getValue'",NULL);
317
#endif
336
#endif
318
 {
337
  {
319
  double tolua_ret = (double)  self->getValue(group,name);
338
   double tolua_ret = (double)  self->getValue(group,name);
320
 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
339
   tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
321
 }
340
  }
322
 }
341
 }
323
 return 1;
342
 return 1;
324
#ifndef TOLUA_RELEASE
343
#ifndef TOLUA_RELEASE
Lines 327-353 Link Here
327
 return 0;
346
 return 0;
328
#endif
347
#endif
329
}
348
}
349
#endif //#ifndef TOLUA_DISABLE
330
350
331
/* method: startFadeCrossfader of class  PlayInterface */
351
/* method: startFadeCrossfader of class  PlayInterface */
352
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_startFadeCrossfader00
332
static int tolua_mixxx_PlayInterface_startFadeCrossfader00(lua_State* tolua_S)
353
static int tolua_mixxx_PlayInterface_startFadeCrossfader00(lua_State* tolua_S)
333
{
354
{
334
#ifndef TOLUA_RELEASE
355
#ifndef TOLUA_RELEASE
335
 tolua_Error tolua_err;
356
 tolua_Error tolua_err;
336
 if (
357
 if (
337
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
358
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
338
 !tolua_isnoobj(tolua_S,2,&tolua_err)
359
     !tolua_isnoobj(tolua_S,2,&tolua_err)
339
 )
360
 )
340
 goto tolua_lerror;
361
  goto tolua_lerror;
341
 else
362
 else
342
#endif
363
#endif
343
 {
364
 {
344
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
365
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
345
#ifndef TOLUA_RELEASE
366
#ifndef TOLUA_RELEASE
346
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'startFadeCrossfader'",NULL);
367
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'startFadeCrossfader'",NULL);
347
#endif
368
#endif
348
 {
369
  {
349
  self->startFadeCrossfader();
370
   self->startFadeCrossfader();
350
 }
371
  }
351
 }
372
 }
352
 return 0;
373
 return 0;
353
#ifndef TOLUA_RELEASE
374
#ifndef TOLUA_RELEASE
Lines 356-374 Link Here
356
 return 0;
377
 return 0;
357
#endif
378
#endif
358
}
379
}
380
#endif //#ifndef TOLUA_DISABLE
359
381
360
/* method: startList of class  PlayInterface */
382
/* method: startList of class  PlayInterface */
383
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_startList00
361
static int tolua_mixxx_PlayInterface_startList00(lua_State* tolua_S)
384
static int tolua_mixxx_PlayInterface_startList00(lua_State* tolua_S)
362
{
385
{
363
#ifndef TOLUA_RELEASE
386
#ifndef TOLUA_RELEASE
364
 tolua_Error tolua_err;
387
 tolua_Error tolua_err;
365
 if (
388
 if (
366
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
389
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
367
 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
390
     !tolua_isstring(tolua_S,2,0,&tolua_err) ||
368
 !tolua_isstring(tolua_S,3,0,&tolua_err) ||
391
     !tolua_isstring(tolua_S,3,0,&tolua_err) ||
369
 !tolua_isnoobj(tolua_S,4,&tolua_err)
392
     !tolua_isnoobj(tolua_S,4,&tolua_err)
370
 )
393
 )
371
 goto tolua_lerror;
394
  goto tolua_lerror;
372
 else
395
 else
373
#endif
396
#endif
374
 {
397
 {
Lines 376-386 Link Here
376
  const char* group = ((const char*)  tolua_tostring(tolua_S,2,0));
399
  const char* group = ((const char*)  tolua_tostring(tolua_S,2,0));
377
  const char* name = ((const char*)  tolua_tostring(tolua_S,3,0));
400
  const char* name = ((const char*)  tolua_tostring(tolua_S,3,0));
378
#ifndef TOLUA_RELEASE
401
#ifndef TOLUA_RELEASE
379
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'startList'",NULL);
402
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'startList'",NULL);
380
#endif
403
#endif
381
 {
404
  {
382
  self->startList(group,name);
405
   self->startList(group,name);
383
 }
406
  }
384
 }
407
 }
385
 return 0;
408
 return 0;
386
#ifndef TOLUA_RELEASE
409
#ifndef TOLUA_RELEASE
Lines 389-407 Link Here
389
 return 0;
412
 return 0;
390
#endif
413
#endif
391
}
414
}
415
#endif //#ifndef TOLUA_DISABLE
392
416
393
/* method: startFade of class  PlayInterface */
417
/* method: startFade of class  PlayInterface */
418
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_startFade00
394
static int tolua_mixxx_PlayInterface_startFade00(lua_State* tolua_S)
419
static int tolua_mixxx_PlayInterface_startFade00(lua_State* tolua_S)
395
{
420
{
396
#ifndef TOLUA_RELEASE
421
#ifndef TOLUA_RELEASE
397
 tolua_Error tolua_err;
422
 tolua_Error tolua_err;
398
 if (
423
 if (
399
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
424
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
400
 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
425
     !tolua_isstring(tolua_S,2,0,&tolua_err) ||
401
 !tolua_isstring(tolua_S,3,0,&tolua_err) ||
426
     !tolua_isstring(tolua_S,3,0,&tolua_err) ||
402
 !tolua_isnoobj(tolua_S,4,&tolua_err)
427
     !tolua_isnoobj(tolua_S,4,&tolua_err)
403
 )
428
 )
404
 goto tolua_lerror;
429
  goto tolua_lerror;
405
 else
430
 else
406
#endif
431
#endif
407
 {
432
 {
Lines 409-419 Link Here
409
  const char* group = ((const char*)  tolua_tostring(tolua_S,2,0));
434
  const char* group = ((const char*)  tolua_tostring(tolua_S,2,0));
410
  const char* name = ((const char*)  tolua_tostring(tolua_S,3,0));
435
  const char* name = ((const char*)  tolua_tostring(tolua_S,3,0));
411
#ifndef TOLUA_RELEASE
436
#ifndef TOLUA_RELEASE
412
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'startFade'",NULL);
437
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'startFade'",NULL);
413
#endif
438
#endif
414
 {
439
  {
415
  self->startFade(group,name);
440
   self->startFade(group,name);
416
 }
441
  }
417
 }
442
 }
418
 return 0;
443
 return 0;
419
#ifndef TOLUA_RELEASE
444
#ifndef TOLUA_RELEASE
Lines 422-440 Link Here
422
 return 0;
447
 return 0;
423
#endif
448
#endif
424
}
449
}
450
#endif //#ifndef TOLUA_DISABLE
425
451
426
/* method: point of class  PlayInterface */
452
/* method: point of class  PlayInterface */
453
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_point00
427
static int tolua_mixxx_PlayInterface_point00(lua_State* tolua_S)
454
static int tolua_mixxx_PlayInterface_point00(lua_State* tolua_S)
428
{
455
{
429
#ifndef TOLUA_RELEASE
456
#ifndef TOLUA_RELEASE
430
 tolua_Error tolua_err;
457
 tolua_Error tolua_err;
431
 if (
458
 if (
432
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
459
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
433
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
460
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
434
 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
461
     !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
435
 !tolua_isnoobj(tolua_S,4,&tolua_err)
462
     !tolua_isnoobj(tolua_S,4,&tolua_err)
436
 )
463
 )
437
 goto tolua_lerror;
464
  goto tolua_lerror;
438
 else
465
 else
439
#endif
466
#endif
440
 {
467
 {
Lines 442-452 Link Here
442
  int time = ((int)  tolua_tonumber(tolua_S,2,0));
469
  int time = ((int)  tolua_tonumber(tolua_S,2,0));
443
  double value = ((double)  tolua_tonumber(tolua_S,3,0));
470
  double value = ((double)  tolua_tonumber(tolua_S,3,0));
444
#ifndef TOLUA_RELEASE
471
#ifndef TOLUA_RELEASE
445
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'point'",NULL);
472
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'point'",NULL);
446
#endif
473
#endif
447
 {
474
  {
448
  self->point(time,value);
475
   self->point(time,value);
449
 }
476
  }
450
 }
477
 }
451
 return 0;
478
 return 0;
452
#ifndef TOLUA_RELEASE
479
#ifndef TOLUA_RELEASE
Lines 455-473 Link Here
455
 return 0;
482
 return 0;
456
#endif
483
#endif
457
}
484
}
485
#endif //#ifndef TOLUA_DISABLE
458
486
459
/* method: fadePoint of class  PlayInterface */
487
/* method: fadePoint of class  PlayInterface */
488
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_fadePoint00
460
static int tolua_mixxx_PlayInterface_fadePoint00(lua_State* tolua_S)
489
static int tolua_mixxx_PlayInterface_fadePoint00(lua_State* tolua_S)
461
{
490
{
462
#ifndef TOLUA_RELEASE
491
#ifndef TOLUA_RELEASE
463
 tolua_Error tolua_err;
492
 tolua_Error tolua_err;
464
 if (
493
 if (
465
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
494
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
466
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
495
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
467
 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
496
     !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
468
 !tolua_isnoobj(tolua_S,4,&tolua_err)
497
     !tolua_isnoobj(tolua_S,4,&tolua_err)
469
 )
498
 )
470
 goto tolua_lerror;
499
  goto tolua_lerror;
471
 else
500
 else
472
#endif
501
#endif
473
 {
502
 {
Lines 475-485 Link Here
475
  int time = ((int)  tolua_tonumber(tolua_S,2,0));
504
  int time = ((int)  tolua_tonumber(tolua_S,2,0));
476
  double value = ((double)  tolua_tonumber(tolua_S,3,0));
505
  double value = ((double)  tolua_tonumber(tolua_S,3,0));
477
#ifndef TOLUA_RELEASE
506
#ifndef TOLUA_RELEASE
478
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'fadePoint'",NULL);
507
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'fadePoint'",NULL);
479
#endif
508
#endif
480
 {
509
  {
481
  self->fadePoint(time,value);
510
   self->fadePoint(time,value);
482
 }
511
  }
483
 }
512
 }
484
 return 0;
513
 return 0;
485
#ifndef TOLUA_RELEASE
514
#ifndef TOLUA_RELEASE
Lines 488-514 Link Here
488
 return 0;
517
 return 0;
489
#endif
518
#endif
490
}
519
}
520
#endif //#ifndef TOLUA_DISABLE
491
521
492
/* method: endFade of class  PlayInterface */
522
/* method: endFade of class  PlayInterface */
523
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_endFade00
493
static int tolua_mixxx_PlayInterface_endFade00(lua_State* tolua_S)
524
static int tolua_mixxx_PlayInterface_endFade00(lua_State* tolua_S)
494
{
525
{
495
#ifndef TOLUA_RELEASE
526
#ifndef TOLUA_RELEASE
496
 tolua_Error tolua_err;
527
 tolua_Error tolua_err;
497
 if (
528
 if (
498
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
529
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
499
 !tolua_isnoobj(tolua_S,2,&tolua_err)
530
     !tolua_isnoobj(tolua_S,2,&tolua_err)
500
 )
531
 )
501
 goto tolua_lerror;
532
  goto tolua_lerror;
502
 else
533
 else
503
#endif
534
#endif
504
 {
535
 {
505
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
536
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
506
#ifndef TOLUA_RELEASE
537
#ifndef TOLUA_RELEASE
507
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'endFade'",NULL);
538
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'endFade'",NULL);
508
#endif
539
#endif
509
 {
540
  {
510
  self->endFade();
541
   self->endFade();
511
 }
542
  }
512
 }
543
 }
513
 return 0;
544
 return 0;
514
#ifndef TOLUA_RELEASE
545
#ifndef TOLUA_RELEASE
Lines 517-543 Link Here
517
 return 0;
548
 return 0;
518
#endif
549
#endif
519
}
550
}
551
#endif //#ifndef TOLUA_DISABLE
520
552
521
/* method: endList of class  PlayInterface */
553
/* method: endList of class  PlayInterface */
554
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_endList00
522
static int tolua_mixxx_PlayInterface_endList00(lua_State* tolua_S)
555
static int tolua_mixxx_PlayInterface_endList00(lua_State* tolua_S)
523
{
556
{
524
#ifndef TOLUA_RELEASE
557
#ifndef TOLUA_RELEASE
525
 tolua_Error tolua_err;
558
 tolua_Error tolua_err;
526
 if (
559
 if (
527
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
560
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
528
 !tolua_isnoobj(tolua_S,2,&tolua_err)
561
     !tolua_isnoobj(tolua_S,2,&tolua_err)
529
 )
562
 )
530
 goto tolua_lerror;
563
  goto tolua_lerror;
531
 else
564
 else
532
#endif
565
#endif
533
 {
566
 {
534
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
567
  PlayInterface* self = (PlayInterface*)  tolua_tousertype(tolua_S,1,0);
535
#ifndef TOLUA_RELEASE
568
#ifndef TOLUA_RELEASE
536
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'endList'",NULL);
569
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'endList'",NULL);
537
#endif
570
#endif
538
 {
571
  {
539
  self->endList();
572
   self->endList();
540
 }
573
  }
541
 }
574
 }
542
 return 0;
575
 return 0;
543
#ifndef TOLUA_RELEASE
576
#ifndef TOLUA_RELEASE
Lines 546-564 Link Here
546
 return 0;
579
 return 0;
547
#endif
580
#endif
548
}
581
}
582
#endif //#ifndef TOLUA_DISABLE
549
583
550
/* method: playChannel1 of class  PlayInterface */
584
/* method: playChannel1 of class  PlayInterface */
585
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_playChannel100
551
static int tolua_mixxx_PlayInterface_playChannel100(lua_State* tolua_S)
586
static int tolua_mixxx_PlayInterface_playChannel100(lua_State* tolua_S)
552
{
587
{
553
#ifndef TOLUA_RELEASE
588
#ifndef TOLUA_RELEASE
554
 tolua_Error tolua_err;
589
 tolua_Error tolua_err;
555
 if (
590
 if (
556
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
591
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
557
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
592
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
558
 !tolua_isstring(tolua_S,3,0,&tolua_err) ||
593
     !tolua_isstring(tolua_S,3,0,&tolua_err) ||
559
 !tolua_isnoobj(tolua_S,4,&tolua_err)
594
     !tolua_isnoobj(tolua_S,4,&tolua_err)
560
 )
595
 )
561
 goto tolua_lerror;
596
  goto tolua_lerror;
562
 else
597
 else
563
#endif
598
#endif
564
 {
599
 {
Lines 566-576 Link Here
566
  int time = ((int)  tolua_tonumber(tolua_S,2,0));
601
  int time = ((int)  tolua_tonumber(tolua_S,2,0));
567
  char* path = ((char*)  tolua_tostring(tolua_S,3,0));
602
  char* path = ((char*)  tolua_tostring(tolua_S,3,0));
568
#ifndef TOLUA_RELEASE
603
#ifndef TOLUA_RELEASE
569
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'playChannel1'",NULL);
604
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'playChannel1'",NULL);
570
#endif
605
#endif
571
 {
606
  {
572
  self->playChannel1(time,path);
607
   self->playChannel1(time,path);
573
 }
608
  }
574
 }
609
 }
575
 return 0;
610
 return 0;
576
#ifndef TOLUA_RELEASE
611
#ifndef TOLUA_RELEASE
Lines 579-597 Link Here
579
 return 0;
614
 return 0;
580
#endif
615
#endif
581
}
616
}
617
#endif //#ifndef TOLUA_DISABLE
582
618
583
/* method: playChannel2 of class  PlayInterface */
619
/* method: playChannel2 of class  PlayInterface */
620
#ifndef TOLUA_DISABLE_tolua_mixxx_PlayInterface_playChannel200
584
static int tolua_mixxx_PlayInterface_playChannel200(lua_State* tolua_S)
621
static int tolua_mixxx_PlayInterface_playChannel200(lua_State* tolua_S)
585
{
622
{
586
#ifndef TOLUA_RELEASE
623
#ifndef TOLUA_RELEASE
587
 tolua_Error tolua_err;
624
 tolua_Error tolua_err;
588
 if (
625
 if (
589
 !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
626
     !tolua_isusertype(tolua_S,1,"PlayInterface",0,&tolua_err) ||
590
 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
627
     !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
591
 !tolua_isstring(tolua_S,3,0,&tolua_err) ||
628
     !tolua_isstring(tolua_S,3,0,&tolua_err) ||
592
 !tolua_isnoobj(tolua_S,4,&tolua_err)
629
     !tolua_isnoobj(tolua_S,4,&tolua_err)
593
 )
630
 )
594
 goto tolua_lerror;
631
  goto tolua_lerror;
595
 else
632
 else
596
#endif
633
#endif
597
 {
634
 {
Lines 599-609 Link Here
599
  int time = ((int)  tolua_tonumber(tolua_S,2,0));
636
  int time = ((int)  tolua_tonumber(tolua_S,2,0));
600
  char* path = ((char*)  tolua_tostring(tolua_S,3,0));
637
  char* path = ((char*)  tolua_tostring(tolua_S,3,0));
601
#ifndef TOLUA_RELEASE
638
#ifndef TOLUA_RELEASE
602
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'playChannel2'",NULL);
639
  if (!self) tolua_error(tolua_S,"invalid 'self' in function 'playChannel2'",NULL);
603
#endif
640
#endif
604
 {
641
  {
605
  self->playChannel2(time,path);
642
   self->playChannel2(time,path);
606
 }
643
  }
607
 }
644
 }
608
 return 0;
645
 return 0;
609
#ifndef TOLUA_RELEASE
646
#ifndef TOLUA_RELEASE
Lines 612-617 Link Here
612
 return 0;
649
 return 0;
613
#endif
650
#endif
614
}
651
}
652
#endif //#ifndef TOLUA_DISABLE
615
653
616
/* Open function */
654
/* Open function */
617
TOLUA_API int tolua_mixxx_open (lua_State* tolua_S)
655
TOLUA_API int tolua_mixxx_open (lua_State* tolua_S)
Lines 620-647 Link Here
620
 tolua_reg_types(tolua_S);
658
 tolua_reg_types(tolua_S);
621
 tolua_module(tolua_S,NULL,0);
659
 tolua_module(tolua_S,NULL,0);
622
 tolua_beginmodule(tolua_S,NULL);
660
 tolua_beginmodule(tolua_S,NULL);
623
 tolua_cclass(tolua_S,"PlayInterface","PlayInterface","",NULL);
661
  tolua_cclass(tolua_S,"PlayInterface","PlayInterface","",NULL);
624
 tolua_beginmodule(tolua_S,"PlayInterface");
662
  tolua_beginmodule(tolua_S,"PlayInterface");
625
 tolua_function(tolua_S,"test",tolua_mixxx_PlayInterface_test00);
663
   tolua_function(tolua_S,"test",tolua_mixxx_PlayInterface_test00);
626
 tolua_function(tolua_S,"stop",tolua_mixxx_PlayInterface_stop00);
664
   tolua_function(tolua_S,"stop",tolua_mixxx_PlayInterface_stop00);
627
 tolua_function(tolua_S,"play",tolua_mixxx_PlayInterface_play00);
665
   tolua_function(tolua_S,"play",tolua_mixxx_PlayInterface_play00);
628
 tolua_function(tolua_S,"setFader",tolua_mixxx_PlayInterface_setFader00);
666
   tolua_function(tolua_S,"setFader",tolua_mixxx_PlayInterface_setFader00);
629
 tolua_function(tolua_S,"setTag",tolua_mixxx_PlayInterface_setTag00);
667
   tolua_function(tolua_S,"setTag",tolua_mixxx_PlayInterface_setTag00);
630
 tolua_function(tolua_S,"clearTag",tolua_mixxx_PlayInterface_clearTag00);
668
   tolua_function(tolua_S,"clearTag",tolua_mixxx_PlayInterface_clearTag00);
631
 tolua_function(tolua_S,"kill",tolua_mixxx_PlayInterface_kill00);
669
   tolua_function(tolua_S,"kill",tolua_mixxx_PlayInterface_kill00);
632
 tolua_function(tolua_S,"killTag",tolua_mixxx_PlayInterface_killTag00);
670
   tolua_function(tolua_S,"killTag",tolua_mixxx_PlayInterface_killTag00);
633
 tolua_function(tolua_S,"getFader",tolua_mixxx_PlayInterface_getFader00);
671
   tolua_function(tolua_S,"getFader",tolua_mixxx_PlayInterface_getFader00);
634
 tolua_function(tolua_S,"getValue",tolua_mixxx_PlayInterface_getValue00);
672
   tolua_function(tolua_S,"getValue",tolua_mixxx_PlayInterface_getValue00);
635
 tolua_function(tolua_S,"startFadeCrossfader",tolua_mixxx_PlayInterface_startFadeCrossfader00);
673
   tolua_function(tolua_S,"startFadeCrossfader",tolua_mixxx_PlayInterface_startFadeCrossfader00);
636
 tolua_function(tolua_S,"startList",tolua_mixxx_PlayInterface_startList00);
674
   tolua_function(tolua_S,"startList",tolua_mixxx_PlayInterface_startList00);
637
 tolua_function(tolua_S,"startFade",tolua_mixxx_PlayInterface_startFade00);
675
   tolua_function(tolua_S,"startFade",tolua_mixxx_PlayInterface_startFade00);
638
 tolua_function(tolua_S,"point",tolua_mixxx_PlayInterface_point00);
676
   tolua_function(tolua_S,"point",tolua_mixxx_PlayInterface_point00);
639
 tolua_function(tolua_S,"fadePoint",tolua_mixxx_PlayInterface_fadePoint00);
677
   tolua_function(tolua_S,"fadePoint",tolua_mixxx_PlayInterface_fadePoint00);
640
 tolua_function(tolua_S,"endFade",tolua_mixxx_PlayInterface_endFade00);
678
   tolua_function(tolua_S,"endFade",tolua_mixxx_PlayInterface_endFade00);
641
 tolua_function(tolua_S,"endList",tolua_mixxx_PlayInterface_endList00);
679
   tolua_function(tolua_S,"endList",tolua_mixxx_PlayInterface_endList00);
642
 tolua_function(tolua_S,"playChannel1",tolua_mixxx_PlayInterface_playChannel100);
680
   tolua_function(tolua_S,"playChannel1",tolua_mixxx_PlayInterface_playChannel100);
643
 tolua_function(tolua_S,"playChannel2",tolua_mixxx_PlayInterface_playChannel200);
681
   tolua_function(tolua_S,"playChannel2",tolua_mixxx_PlayInterface_playChannel200);
644
 tolua_endmodule(tolua_S);
682
  tolua_endmodule(tolua_S);
645
 tolua_endmodule(tolua_S);
683
 tolua_endmodule(tolua_S);
646
 return 1;
684
 return 1;
647
}
685
}
686
687
688
#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
689
 TOLUA_API int luaopen_mixxx (lua_State* tolua_S) {
690
 return tolua_mixxx_open(tolua_S);
691
};
692
#endif
693
(-)build.definition.org (-1 / +1 lines)
Lines 316-322 Link Here
316
316
317
317
318
#   SCRIPTING ENGINE --------
318
#   SCRIPTING ENGINE --------
319
OBJECT=tolua.h
319
OBJECT=tolua++.h
320
TYPE=header
320
TYPE=header
321
OPTIONS=disable_feature
321
OPTIONS=disable_feature
322
DESCRIPTION=Lua Support
322
DESCRIPTION=Lua Support
(-)mixxx.pro.org (-1 / +1 lines)
Lines 481-487 Link Here
481
contains(ENABLED_FEATURES, lua) {
481
contains(ENABLED_FEATURES, lua) {
482
	HEADERS += script/lua/*.h
482
	HEADERS += script/lua/*.h
483
	SOURCES += script/lua/*.cpp
483
	SOURCES += script/lua/*.cpp
484
	LIBS+=-llua -llualib -ltolua
484
	LIBS+=-llua -ltolua++
485
	DEFINES += __LUA__
485
	DEFINES += __LUA__
486
}
486
}
487
487

Return to bug 147042