-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
40 lines (31 loc) · 1.21 KB
/
README
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
Classes are generated by haxe-neko script in 'gen' directory.
The source is 'Signal.prehx' in 'gen' - haxe Template.
To compile script and run it, enter:
$ cd gen
$ sh gen.sh
Final classes will be generated in 'signals' directory.
Tests in 'tests'.
$ cd test
$ haxe test-swf.hxml
$ haxe test-neko.hxml
$ flashplayer test.swf
$ neko test.n
in Signal.prehx
- ::name:: is replaced by class name
- ::types:: is replaced by "<T1, T2, T3>" style string
- ::func:: is replaced by "T1->T2->T3->Void" style function type
- ::dispatch_args:: is replaced by "a1:T1, a2:T2, a3:T3" style string for dispatch function
- ::call_args:: is replaced by "a1, a2, a3" style string for calling listeners in dispatch
/* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* Version 2, December 2004
*
* Copyright (C) 2004 Sam Hocevar 14 rue de Plaisance, 75014 Paris, France
* Everyone is permitted to copy and distribute verbatim or modified
* copies of this license document, and changing it is allowed as long
* as the name is changed.
*
* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
* TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
*
* 0. You just DO WHAT THE FUCK YOU WANT TO.
* */