* added a := operator from String to xmlCharPtr

git-svn-id: trunk@12537 -
This commit is contained in:
ivost 2009-01-11 00:17:02 +00:00
parent d8827829d6
commit 2295667674

View File

@ -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