mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 09:40:27 +02:00
codetools: fixed TEventsCodeTool.MethodTypeDataToStr for fpc 3.0+
git-svn-id: trunk@55200 -
This commit is contained in:
parent
1184822164
commit
378cbd62c0
@ -197,8 +197,7 @@ begin
|
||||
ParamString:='';
|
||||
for i:=0 to ParamCount-1 do begin
|
||||
// read ParamFlags
|
||||
// ToDo: check this: SizeOf(TParamFlags) is 4, but the data is only 1 byte
|
||||
Len:=1; // typinfo.pp comment is wrong: SizeOf(TParamFlags)
|
||||
Len:={$IF FPC_FULLVERSION>=30000}SizeOf(TParamFlags){$ELSE}1{$ENDIF};
|
||||
ParamType.Flags:=[];
|
||||
Move(TypeData^.ParamList[Offset],ParamType.Flags,Len);
|
||||
inc(Offset,Len);
|
||||
|
Loading…
Reference in New Issue
Block a user