atk 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,39 +0,0 @@
1
- except_targets = ["Init_atk()"]
2
-
3
- def print_data(array, type, defs, extern = false)
4
- if array[type]
5
- extern_def = "extern void" if extern
6
- print "##{defs} #{type}\n" if defs
7
- array[type].each do |val|
8
- print "#{extern_def} #{val};\n"
9
- end
10
- print "#endif\n" if defs
11
- end
12
- end
13
-
14
- inits = Hash.new
15
-
16
- while gets
17
- if ~ /^(Init_.*\(.*\))(.*)/
18
- init = $1
19
- unless except_targets.include?(init)
20
- flag = $2
21
- if flag.size > 0
22
- if flag =~ /\/\*\s*(\w*)\s*\*\//
23
- inits[$1] = Array.new unless inits[$1]
24
- inits[$1] << init
25
- end
26
- else
27
- inits[""] = Array.new unless inits[""]
28
- inits[""] << init
29
- end
30
- end
31
- end
32
- end
33
-
34
- print_data(inits, "", nil, true)
35
-
36
- print "void Init_atk_inits()\n"
37
- print "{\n"
38
- print_data(inits, "", nil)
39
- print "}\n"
@@ -1,56 +0,0 @@
1
- extern void Init_atk_action();
2
- extern void Init_atk_component();
3
- extern void Init_atk_document();
4
- extern void Init_atk_editabletext();
5
- extern void Init_atk_gobjectaccessible();
6
- extern void Init_atk_hyperlink();
7
- extern void Init_atk_hypertext();
8
- extern void Init_atk_image();
9
- extern void Init_atk_implementor();
10
- extern void Init_atk_noopobject();
11
- extern void Init_atk_noopobjectfactory();
12
- extern void Init_atk_object();
13
- extern void Init_atk_objectfactory();
14
- extern void Init_atk_registry();
15
- extern void Init_atk_relation();
16
- extern void Init_atk_relation_set();
17
- extern void Init_atk_selection();
18
- extern void Init_atk_state();
19
- extern void Init_atk_state_set();
20
- extern void Init_atk_streamable_content();
21
- extern void Init_atk_table();
22
- extern void Init_atk_text();
23
- extern void Init_atk_text_range();
24
- extern void Init_atk_text_rectangle();
25
- extern void Init_atk_util();
26
- extern void Init_atk_value();
27
- void
28
- Init_atk_inits()
29
- {
30
- Init_atk_action();
31
- Init_atk_component();
32
- Init_atk_document();
33
- Init_atk_editabletext();
34
- Init_atk_gobjectaccessible();
35
- Init_atk_hyperlink();
36
- Init_atk_hypertext();
37
- Init_atk_image();
38
- Init_atk_implementor();
39
- Init_atk_noopobject();
40
- Init_atk_noopobjectfactory();
41
- Init_atk_object();
42
- Init_atk_objectfactory();
43
- Init_atk_registry();
44
- Init_atk_relation();
45
- Init_atk_relation_set();
46
- Init_atk_selection();
47
- Init_atk_state();
48
- Init_atk_state_set();
49
- Init_atk_streamable_content();
50
- Init_atk_table();
51
- Init_atk_text();
52
- Init_atk_text_range();
53
- Init_atk_text_rectangle();
54
- Init_atk_util();
55
- Init_atk_value();
56
- }