projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 6.2 - patch 20200627
[ncurses.git]
/
Ada95
/
src
/
terminal_interface-curses-forms-field_types-enumeration.ads
diff --git
a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads
b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads
index b9c1b00dcfe99a23b5ef794e78817a5b8c1dba2a..ca9ab523bd41e2d33132d1a857c017c9dfd73e37 100644
(file)
--- a/
Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads
+++ b/
Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads
@@
-7,7
+7,8
@@
-- S P E C --
-- --
------------------------------------------------------------------------------
-- S P E C --
-- --
------------------------------------------------------------------------------
--- Copyright (c) 1998 Free Software Foundation, Inc. --
+-- Copyright 2018,2020 Thomas E. Dickey --
+-- Copyright 1999-2003,2009 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
@@
-34,9
+35,8
@@
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
--- Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en
-- Version Control:
-- Version Control:
--- $Revision: 1.1
0
$
+-- $Revision: 1.1
5
$
-- Binding Version 01.00
------------------------------------------------------------------------------
with Interfaces.C.Strings;
-- Binding Version 01.00
------------------------------------------------------------------------------
with Interfaces.C.Strings;
@@
-55,9
+55,9
@@
package Terminal_Interface.Curses.Forms.Field_Types.Enumeration is
type Enumeration_Info (C : Positive) is
record
type Enumeration_Info (C : Positive) is
record
- Names : Enum_Array (1 .. C);
Case_Sensitive : Boolean := False;
Match_Must_Be_Unique : Boolean := False;
Case_Sensitive : Boolean := False;
Match_Must_Be_Unique : Boolean := False;
+ Names : Enum_Array (1 .. C);
end record;
type Enumeration_Field is new Field_Type with private;
end record;
type Enumeration_Field is new Field_Type with private;
@@
-79,11
+79,11
@@
package Terminal_Interface.Curses.Forms.Field_Types.Enumeration is
-- But we may want to release the field to release the memory allocated
-- by it internally. After that the Enumeration field is no longer usable.
-- But we may want to release the field to release the memory allocated
-- by it internally. After that the Enumeration field is no longer usable.
- -- The next type defintions are all ncurses extensions. They are typically
+ -- The next type defin
i
tions are all ncurses extensions. They are typically
-- not available in other curses implementations.
-- not available in other curses implementations.
- procedure Set_Field_Type (Fld :
in
Field;
- Typ :
in
Enumeration_Field);
+ procedure Set_Field_Type (Fld : Field;
+ Typ : Enumeration_Field);
pragma Inline (Set_Field_Type);
private
pragma Inline (Set_Field_Type);
private