mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:29:29 +02:00
* enabled (generic) fpc_pchar_length() and fpc_pwidechar_length()
git-svn-id: branches/jvmbackend@18771 -
This commit is contained in:
parent
1a23a7cd27
commit
144ba2a2ad
@ -50,10 +50,8 @@ function fpc_pchar_to_shortstr(p:pchar):shortstring; compilerproc;
|
||||
{$else FPC_STRTOSHORTSTRINGPROC}
|
||||
procedure fpc_pchar_to_shortstr(out res : shortstring;p:pchar); compilerproc;
|
||||
{$endif FPC_STRTOSHORTSTRINGPROC}
|
||||
(*
|
||||
function fpc_pchar_length(p:pchar):longint; compilerproc;
|
||||
function fpc_pwidechar_length(p:pwidechar):longint; compilerproc;
|
||||
*)
|
||||
|
||||
procedure fpc_chararray_to_shortstr(out res : shortstring;const arr: array of AnsiChar; zerobased: boolean = true); compilerproc;
|
||||
procedure fpc_shortstr_to_chararray(out res: array of AnsiChar; const src: ShortString); compilerproc;
|
||||
|
@ -95,8 +95,6 @@ function Sptr:Pointer;
|
||||
|
||||
{ more lies }
|
||||
{$define FPC_STRTOSHORTSTRINGPROC}
|
||||
{$define FPC_SYSTEM_HAS_FPC_PCHAR_LENGTH}
|
||||
{$define FPC_SYSTEM_HAS_FPC_PWIDECHAR_LENGTH}
|
||||
|
||||
{$define FPC_SYSTEM_HAS_FPC_PCHAR_TO_SHORTSTR}
|
||||
procedure fpc_pchar_to_shortstr(out res : shortstring;p:pchar); compilerproc;
|
||||
|
Loading…
Reference in New Issue
Block a user