summaryrefslogtreecommitdiff
path: root/tests/webtbs/tw2739.pp
blob: d9db2bbc748efea691c09cdc5fc1eddd8cd6afa7 (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
36
{$mode Delphi}
unit tw2739;

interface



type
  TJclExceptNotifyProc = procedure (ExceptObj: TObject; ExceptAddr: Pointer; OSException: Boolean);
  TJclExceptNotifyMethod = procedure (ExceptObj: TObject; ExceptAddr: Pointer; OSException: Boolean) of object;



function JclAddExceptNotifier(const NotifyProc: TJclExceptNotifyProc ): Boolean; overload;
function JclAddExceptNotifier(const NotifyMethod: TJclExceptNotifyMethod): Boolean; overload;


implementation

function JclAddExceptNotifier(const NotifyProc: TJclExceptNotifyProc ): Boolean; overload;

begin
end;



function JclAddExceptNotifier(const NotifyMethod: TJclExceptNotifyMethod): Boolean; overload;
var
  p : pointer;
begin
  p:=@NotifyMethod;
end;


begin
end.