mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
* don't use keywords for variables
This commit is contained in:
parent
234df84b11
commit
5687c3c24c
@ -37,7 +37,7 @@ function FOUR_CHAR_CODE(literal: string): LongWord; {$ifdef systeminline}inline;
|
||||
|
||||
{This makes casts from ShortString to FourCharCode automatically,
|
||||
to emulate the behaviour of mac pascal compilers}
|
||||
operator := (s: ShortString) result: LongWord; {$ifdef systeminline}inline;{$endif}
|
||||
operator := (s: ShortString) res: LongWord; {$ifdef systeminline}inline;{$endif}
|
||||
|
||||
|
||||
implementation
|
||||
@ -53,9 +53,9 @@ begin
|
||||
FOUR_CHAR_CODE := PLongWord(@literal[1])^;
|
||||
end;
|
||||
|
||||
operator := (s: ShortString) result: LongWord; {$ifdef systeminline}inline;{$endif}
|
||||
operator := (s: ShortString) res: LongWord; {$ifdef systeminline}inline;{$endif}
|
||||
begin
|
||||
result := PLongWord(@s[1])^;
|
||||
res := PLongWord(@s[1])^;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
@ -323,12 +323,12 @@ var
|
||||
end;
|
||||
|
||||
|
||||
function API_signals_exception_handler(except : PEXCEPTION_POINTERS) : longint; stdcall;
|
||||
function API_signals_exception_handler(exceptptrs : PEXCEPTION_POINTERS) : longint; stdcall;
|
||||
begin
|
||||
API_signals_exception_handler:=Signals_exception_handler(
|
||||
@except^.ExceptionRecord,
|
||||
@exceptptrs^.ExceptionRecord,
|
||||
nil,
|
||||
@except^.ContextRecord,
|
||||
@exceptptrs^.ContextRecord,
|
||||
nil);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user