summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw4202.pp
blob: 878ff183dca014ede91f6e6beb375f6d324db038 (plain)
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
{$mode delphi}

type
  XTask   = type Pointer;
  XInt4   = Integer;
  XID     = type Longword;
  XUniStr = type Pointer;
  XResult = type Integer;

function XLogS(const Task: XTask; const Severity: XInt4; const Msg: XID; const Args:
array of const): XResult; overload;
begin
  Result := 0;
end;

function XLogS(const Task: XTask; const Severity: XInt4; const Text: XUniStr):
XResult; overload;
begin
  Result := 0;
end;

function XLogS(const Task: XTask; const Severity: XInt4; const FormatStr: XUniStr;
const Args: array of const): XResult; overload;
begin
  Result := 0;
end;

const
  XSeverityDebug = 12;
  msg_sys_object_create = 1;
var
  FTask: XTask;
begin
  XLogS(FTask, XSeverityDebug, msg_sys_object_create, [1]);
end.