-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathlist.tmpl
34 lines (28 loc) · 936 Bytes
/
list.tmpl
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
% Copyright (C) 1993, Digital Equipment Corporation
% All rights reserved.
% See the file COPYRIGHT for a full description.
%
% Last modified on Mon Sep 20 11:53:38 PDT 1993 by kalsow
%
% Quake functions to instantiate a generic list.
%
readonly proc List (nm, elt) is
local list = nm & "List"
build_generic_intf (list, "List", [elt], VISIBLE)
build_generic_impl (list, "List", [elt])
end
readonly proc list (nm, elt) is
local list = nm & "List"
build_generic_intf (list, "List", [elt], HIDDEN)
build_generic_impl (list, "List", [elt])
end
readonly proc List_sort (nm, elt) is
local list = nm & "ListSort"
build_generic_intf (list, "ListSort", [elt, nm & "List"], VISIBLE)
build_generic_impl (list, "ListSort", [elt])
end
readonly proc list_sort (nm, elt) is
local list = nm & "ListSort"
build_generic_intf (list, "ListSort", [elt, nm & "List"], HIDDEN)
build_generic_impl (list, "ListSort", [elt])
end