Difference between revisions of "New in the 1.9.x rtl (not yet in the docs)"

From Lazarus wiki
Jump to navigationJump to search
m (Categorisation)
 
(One intermediate revision by one other user not shown)
Line 15: Line 15:
  
 
[[Category:FPC development]]
 
[[Category:FPC development]]
 +
[[Category:Historical]]
 +
[[Category:Outdated information]]

Latest revision as of 21:57, 6 June 2021

The following stuff is new in 1.9.x and is not yet in the docs:

  • A lot of integer types are changed to SizeInt/SizeUInt to have common declarations for 32 and 64 Bit targets.

The following routines are new in the 1.9.x rtl and aren't yet documented:

 function UnicodeToUtf8(Dest: PChar; Source: PWideChar; MaxBytes: SizeInt): SizeInt;
 function UnicodeToUtf8(Dest: PChar; MaxDestBytes: SizeUInt; Source: PWideChar; SourceChars: SizeUInt): SizeUInt;
 function Utf8ToUnicode(Dest: PWideChar; Source: PChar; MaxChars: SizeInt): SizeInt;
 function Utf8ToUnicode(Dest: PWideChar; MaxDestChars: SizeUInt; Source: PChar; SourceBytes: SizeUInt): SizeUInt;

See also Language related articles for compiler stuff not yet documented.

UPD: Now it documented in UTF-8 page.