mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 21:49:09 +02:00
* added a := operator from String to xmlCharPtr
git-svn-id: trunk@12537 -
This commit is contained in:
parent
d8827829d6
commit
2295667674
@ -254,6 +254,8 @@ const
|
|||||||
{$i xpointer.inc}
|
{$i xpointer.inc}
|
||||||
{$UNDEF FUNCTION}
|
{$UNDEF FUNCTION}
|
||||||
|
|
||||||
|
operator := (const S: String): xmlCharPtr; inline;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
procedure fpcxmlFree(mem: pointer); XMLCALL;
|
procedure fpcxmlFree(mem: pointer); XMLCALL;
|
||||||
@ -307,6 +309,11 @@ begin
|
|||||||
result := xmlCharPtr(PChar(str));
|
result := xmlCharPtr(PChar(str));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
operator := (const S: String): xmlCharPtr; inline;
|
||||||
|
begin
|
||||||
|
Result := xmlCharPtr(PChar(S));
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
(*
|
(*
|
||||||
* macros from chvalid.inc
|
* macros from chvalid.inc
|
||||||
|
Loading…
Reference in New Issue
Block a user