File tree 6 files changed +10
-13
lines changed
6 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 134
134
-------------
135
135
-- These subprograms should really be in gdk-display.ads to match what is
136
136
-- done for gtk+ itself, but that would create dependency circularities.
137
- -- Ada 2005 has support for these, but we want GtkAda to build with Ada95
137
+ -- Ada 2012 has support for these, but we want GtkAda to build with Ada95
138
138
-- compilers.
139
139
140
140
function Get_Screen
Original file line number Diff line number Diff line change @@ -57,12 +57,11 @@ available as primitive operations in the types that implement the interface.
57
57
58
58
We also expect to simplify the handling of signals and signal handlers.
59
59
60
- Ada 2005
60
+ Ada 2012
61
61
--------
62
62
63
- GtkAda 3 makes use of Ada 2005 and requires GtkAda applications
64
- to be compiled in Ada 2005 or Ada 2012 mode (e.g. using the -gnat05 or
65
- -gnat2012 switch).
63
+ GtkAda 3 makes use of Ada 2012 and requires GtkAda applications
64
+ to be compiled in Ada 2012 mode (e.g. using the -gnat2012 switch).
66
65
67
66
This makes it possible to use the object-dotted notation when calling
68
67
primitive operations. For instance, the following code::
Original file line number Diff line number Diff line change 18
18
foreach (readdir (DIR)) {
19
19
if (-d " $dir /$_ " && $_ ne ' .' && $_ ne ' ..' ) {
20
20
push (@modules , " $dir /$_ " );
21
- &analyze_dir (" $dir /$_ " );
21
+ &analyze_dir (" $dir /$_ " );
22
22
}
23
23
}
24
24
close (DIR);
52
52
$str =~ s / "\s *&\s *"// g ;
53
53
$str =~ s / "\s *$// g ;
54
54
${$strings {$str }}{$file }++; # .= "$file ";
55
- }
56
- close (FILE);
55
+ }
56
+ close (FILE);
57
57
}
58
58
}
59
59
69
69
70
70
print <<EOF
71
71
# Translation file for the GNAT Programming Studio
72
- # Copyright (C) 2005 AdaCore
72
+ # Copyright (C) 2012 AdaCore
73
73
#
74
74
msgid ""
75
75
msgstr ""
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ package Gdk.Screen is
301
301
-- -----------
302
302
-- These subprograms should really be in gdk-display.ads to match what is
303
303
-- done for gtk+ itself, but that would create dependency circularities.
304
- -- Ada 2005 has support for these, but we want GtkAda to build with Ada95
304
+ -- Ada 2012 has support for these, but we want GtkAda to build with Ada95
305
305
-- compilers.
306
306
307
307
function Get_Screen
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ package Glib.Types is
65
65
-- --------------
66
66
-- Interfaces --
67
67
-- --------------
68
- -- Interfaces are similar, in concept, to those found in Ada 2005 or in
68
+ -- Interfaces are similar, in concept, to those found in Ada 2012 or in
69
69
-- Java. They define a set of subprograms that any type implementing the
70
70
-- interface must also define. They are different from standard inheritance
71
71
-- since no implementation of these subprograms can be provided in the
Original file line number Diff line number Diff line change 21
21
-- --
22
22
-- ----------------------------------------------------------------------------
23
23
24
- pragma Ada_2005;
25
-
26
24
with Ada.Text_IO ; use Ada.Text_IO;
27
25
28
26
with Ada.Numerics ;
You can’t perform that action at this time.
0 commit comments