mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 02:56:01 +02:00
codetools: identifier completion: added SetString for FPC 2.7.1+, from Ondrej
git-svn-id: trunk@50033 -
This commit is contained in:
parent
412b1ebab6
commit
2e77744a8c
@ -1353,6 +1353,8 @@ begin
|
||||
AddCompilerFunction('Seg','var X','LongInt');
|
||||
AddCompilerProcedure('SetLength','var S:String;NewLength:Integer');
|
||||
AddCompilerProcedure('SetLength','var A:Array;NewLength:Integer');
|
||||
if Scanner.Values.IsDefined('FPC_HAS_CPSTRING') then
|
||||
AddCompilerProcedure('SetString','out S:RawByteString;Buf:PAnsiChar;Len:SizeInt');
|
||||
AddCompilerFunction('SizeOf','Identifier','Integer');
|
||||
AddCompilerFunction('Slice','var A:Array;Count:Integer','Array');
|
||||
AddCompilerProcedure('Str','const X[:Width[:Decimals]];var S:String');
|
||||
|
Loading…
Reference in New Issue
Block a user