mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 18:28:23 +02:00
+ added tcgsize2str function
git-svn-id: trunk@27453 -
This commit is contained in:
parent
db13107e53
commit
ec6dfb5853
@ -374,6 +374,8 @@ interface
|
||||
function int_cgsize(const a: tcgint): tcgsize;{$ifdef USEINLINE}inline;{$endif}
|
||||
function int_float_cgsize(const a: tcgint): tcgsize;
|
||||
|
||||
function tcgsize2str(cgsize: tcgsize):string;
|
||||
|
||||
{ return the inverse condition of opcmp }
|
||||
function inverse_opcmp(opcmp: topcmp): topcmp;{$ifdef USEINLINE}inline;{$endif}
|
||||
|
||||
@ -668,6 +670,12 @@ implementation
|
||||
end;
|
||||
|
||||
|
||||
function tcgsize2str(cgsize: tcgsize):string;
|
||||
begin
|
||||
Str(cgsize, Result);
|
||||
end;
|
||||
|
||||
|
||||
function inverse_opcmp(opcmp: topcmp): topcmp;{$ifdef USEINLINE}inline;{$endif}
|
||||
const
|
||||
list: array[TOpCmp] of TOpCmp =
|
||||
|
Loading…
Reference in New Issue
Block a user