codetools: parameter hints: added SetString for FPC 2.7.1+

git-svn-id: trunk@50034 -
This commit is contained in:
mattias 2015-10-11 17:54:32 +00:00
parent 2e77744a8c
commit 28eba57562

View File

@ -2833,6 +2833,8 @@ var
AddCompilerProc('Seg','var X','LongInt');
AddCompilerProc('SetLength','var S:String;NewLength:Integer');
AddCompilerProc('SetLength','var A:Array;NewLength:Integer');
if Scanner.Values.IsDefined('FPC_HAS_CPSTRING') then
AddCompilerProc('SetString','out S:RawByteString;Buf:PAnsiChar;Len:SizeInt');
AddCompilerProc('SizeOf','Identifier','Integer');
AddCompilerProc('Slice','var A:Array;Count:Integer','Array');
AddCompilerProc('Str','const X[:Width[:Decimals]];var S:String');