-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStrRtl.pas
47 lines (38 loc) · 1.3 KB
/
StrRtl.pas
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
(*
Copyright (C) 2024 Jeffrey Getzin.
Licensed under the GNU General Public License v3.0 with additional terms.
See the LICENSE file in the repository root for details.
*)
[Environment('strrtl')]
MODULE strrtl;
[HIDDEN]
TYPE
$bool = [BIT] BOOLEAN;
$ubyte = [BYTE, UNSAFE] CHAR;
$byte = [BYTE, UNSAFE] -127 .. 127;
$uword = [WORD, UNSAFE] 0 .. 65535;
$word = [WORD, UNSAFE] -32768 .. 32767;
$unspecified = [LONG, UNSAFE] UNSIGNED;
$quad = [UNSAFE] Record
lsl,msl: [UNSAFE] INTEGER;
End;
$uquad = [UNSAFE] Record
lsl,msl: [UNSAFE] INTEGER;
End;
[ASYNCHRONOUS, UNBOUND]FUNCTION str$trim
(%descr string: VARYING [$len3] OF CHAR;
%descr output: VARYING [$len4] OF CHAR) : UNSIGNED;
EXTERNAL;
[ASYNCHRONOUS, UNBOUND]FUNCTION STR$Case_Blind_Compare
(%descr string: VARYING [$len5] OF CHAR;
%descr compare_string: VARYING [$len6] OF CHAR) : UNSIGNED;
EXTERNAL;
[ASYNCHRONOUS, UNBOUND]FUNCTION STR$Position
(%descr string: VARYING [$len7] OF CHAR;
%descr compare_string: VARYING [$len8] OF CHAR) : UNSIGNED;
EXTERNAL;
[ASYNCHRONOUS, UNBOUND]FUNCTION STR$Upcase
(%descr string: VARYING [$len7] OF CHAR;
%descr compare_string: VARYING [$len8] OF CHAR) : UNSIGNED;
EXTERNAL;
END.