mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:29:27 +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}
|
||||
{$UNDEF FUNCTION}
|
||||
|
||||
operator := (const S: String): xmlCharPtr; inline;
|
||||
|
||||
implementation
|
||||
|
||||
procedure fpcxmlFree(mem: pointer); XMLCALL;
|
||||
@ -307,6 +309,11 @@ begin
|
||||
result := xmlCharPtr(PChar(str));
|
||||
end;
|
||||
|
||||
operator := (const S: String): xmlCharPtr; inline;
|
||||
begin
|
||||
Result := xmlCharPtr(PChar(S));
|
||||
end;
|
||||
|
||||
|
||||
(*
|
||||
* macros from chvalid.inc
|
||||
|
Loading…
Reference in New Issue
Block a user