Hi *,
is it possible inline also methods of objects (not regular procedures) ?
I have very simple class method, which call I need inline.
(looking at assembler code it is not inlined; I have looked also in
documentation, but I do not found article about inline and methods)
Example:
function T2DArray.Data(x, y: integer): PElement; inline;
begin
Result := @FArray[x+y*Fx];
end;
Thanks
-Laco.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal