mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 21:07:54 +02:00
17 lines
320 B
ObjectPascal
17 lines
320 B
ObjectPascal
{ %cpu=i386 }
|
|
|
|
{ Source provided for Free Pascal Bug Report 2666 }
|
|
{ Submitted by "marcov" on 2003-09-06 }
|
|
{ e-mail: marco@freepascal.org }
|
|
|
|
{$mode delphi}
|
|
|
|
function GetDynamicMethod(AClass: TClass; Index: Integer): Pointer; assembler;
|
|
asm
|
|
CALL System.@Paramcount
|
|
end;
|
|
|
|
begin
|
|
GetDynamicMethod(nil,0);
|
|
end.
|