Created
November 14, 2012 03:36
-
-
Save anonymous/4070104 to your computer and use it in GitHub Desktop.
Linked Strings declaration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type header; | |
type string_node; | |
type Lstring is access header; | |
type str_link is access string_node; | |
type header is record | |
length : natural; | |
list : str_link; | |
end record; | |
string_size : constant := 6; | |
subtype stringlet is string(1 .. string_size); | |
type string_node is record | |
data : stringlet; | |
next: str_link; | |
end record; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment