mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:09:27 +02:00
* procvar fixes
This commit is contained in:
parent
4d04e9766a
commit
fcd419b84a
@ -22,7 +22,7 @@ Var
|
|||||||
Sel: Word;
|
Sel: Word;
|
||||||
v: longint;
|
v: longint;
|
||||||
Begin
|
Begin
|
||||||
Signal(SIGSEGV,signalhandler(our_sig));
|
Signal(SIGSEGV,signalhandler(@our_sig));
|
||||||
v:=$00ffffff;
|
v:=$00ffffff;
|
||||||
Sel:=word(v);
|
Sel:=word(v);
|
||||||
writeln(sel);
|
writeln(sel);
|
||||||
|
@ -55,6 +55,6 @@ begin
|
|||||||
Dummy := TDummy.Create;
|
Dummy := TDummy.Create;
|
||||||
Host := THost.Create;
|
Host := THost.Create;
|
||||||
with Host,Dummy do
|
with Host,Dummy do
|
||||||
OnEvent := HandleEvent; // this is 57, 27 is ";"
|
OnEvent := @HandleEvent; // this is 57, 27 is ";"
|
||||||
Host.Trigger;
|
Host.Trigger;
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user