mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 03:57:14 +01:00
Fix rename issues from XML library.
This commit is contained in:
parent
ced5c64e17
commit
e92f99c55e
@ -211,7 +211,7 @@ void Register_XML(HSQUIRRELVM vm)
|
|||||||
{
|
{
|
||||||
Table xmlns(vm);
|
Table xmlns(vm);
|
||||||
|
|
||||||
xmlns.Bind(_SC("XmlParseResult"), Class< XmlParseResult >(vm, XmlParseResultTypename::Str)
|
xmlns.Bind(_SC("ParseResult"), Class< XmlParseResult >(vm, XmlParseResultTypename::Str)
|
||||||
// Constructors
|
// Constructors
|
||||||
.Ctor()
|
.Ctor()
|
||||||
.Ctor< const XmlParseResult & >()
|
.Ctor< const XmlParseResult & >()
|
||||||
@ -231,7 +231,7 @@ void Register_XML(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("Check"), &XmlParseResult::Check)
|
.Func(_SC("Check"), &XmlParseResult::Check)
|
||||||
);
|
);
|
||||||
|
|
||||||
xmlns.Bind(_SC("XmlAttribute"), Class< XmlAttribute >(vm, XmlAttributeTypename::Str)
|
xmlns.Bind(_SC("Attribute"), Class< XmlAttribute >(vm, XmlAttributeTypename::Str)
|
||||||
// Constructors
|
// Constructors
|
||||||
.Ctor()
|
.Ctor()
|
||||||
.Ctor< const XmlAttribute & >()
|
.Ctor< const XmlAttribute & >()
|
||||||
@ -276,7 +276,7 @@ void Register_XML(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("SetBool"), &XmlAttribute::ApplyBool)
|
.Func(_SC("SetBool"), &XmlAttribute::ApplyBool)
|
||||||
);
|
);
|
||||||
|
|
||||||
xmlns.Bind(_SC("XmlText"), Class< XmlText >(vm, XmlTextTypename::Str)
|
xmlns.Bind(_SC("Text"), Class< XmlText >(vm, XmlTextTypename::Str)
|
||||||
// Constructors
|
// Constructors
|
||||||
.Ctor()
|
.Ctor()
|
||||||
.Ctor< const XmlText & >()
|
.Ctor< const XmlText & >()
|
||||||
@ -316,7 +316,7 @@ void Register_XML(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("SetBool"), &XmlText::ApplyBool)
|
.Func(_SC("SetBool"), &XmlText::ApplyBool)
|
||||||
);
|
);
|
||||||
|
|
||||||
xmlns.Bind(_SC("XmlNode"), Class< XmlNode >(vm, XmlNodeTypename::Str)
|
xmlns.Bind(_SC("Node"), Class< XmlNode >(vm, XmlNodeTypename::Str)
|
||||||
// Constructors
|
// Constructors
|
||||||
.Ctor()
|
.Ctor()
|
||||||
.Ctor< const XmlNode & >()
|
.Ctor< const XmlNode & >()
|
||||||
@ -341,7 +341,7 @@ void Register_XML(HSQUIRRELVM vm)
|
|||||||
.Prop(_SC("PrevSibling"), &XmlNode::GetPrevSibling)
|
.Prop(_SC("PrevSibling"), &XmlNode::GetPrevSibling)
|
||||||
.Prop(_SC("Parent"), &XmlNode::GetParent)
|
.Prop(_SC("Parent"), &XmlNode::GetParent)
|
||||||
.Prop(_SC("Root"), &XmlNode::GetRoot)
|
.Prop(_SC("Root"), &XmlNode::GetRoot)
|
||||||
.Prop(_SC("XmlText"), &XmlNode::GetText)
|
.Prop(_SC("Text"), &XmlNode::GetText)
|
||||||
.Prop(_SC("ChildValue"), &XmlNode::GetChildValue)
|
.Prop(_SC("ChildValue"), &XmlNode::GetChildValue)
|
||||||
// Member Methods
|
// Member Methods
|
||||||
.Overload< XmlParseResult (XmlNode::*)(CSStr) >(_SC("AppendBuffer"), &XmlNode::AppendBuffer)
|
.Overload< XmlParseResult (XmlNode::*)(CSStr) >(_SC("AppendBuffer"), &XmlNode::AppendBuffer)
|
||||||
@ -392,7 +392,7 @@ void Register_XML(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("FindElemByPath"), &XmlNode::FindElemByPath)
|
.Func(_SC("FindElemByPath"), &XmlNode::FindElemByPath)
|
||||||
);
|
);
|
||||||
|
|
||||||
xmlns.Bind(_SC("XmlDocument"), Class< XmlDocument, NoCopy< XmlDocument > >(vm, XmlDocumentTypename::Str)
|
xmlns.Bind(_SC("Document"), Class< XmlDocument, NoCopy< XmlDocument > >(vm, XmlDocumentTypename::Str)
|
||||||
// Constructors
|
// Constructors
|
||||||
.Ctor()
|
.Ctor()
|
||||||
// Core Meta-methods
|
// Core Meta-methods
|
||||||
@ -402,7 +402,7 @@ void Register_XML(HSQUIRRELVM vm)
|
|||||||
// Properties
|
// Properties
|
||||||
.Prop(_SC("Valid"), &XmlDocument::IsValid)
|
.Prop(_SC("Valid"), &XmlDocument::IsValid)
|
||||||
.Prop(_SC("References"), &XmlDocument::GetRefCount)
|
.Prop(_SC("References"), &XmlDocument::GetRefCount)
|
||||||
.Prop(_SC("XmlNode"), &XmlDocument::GetNode)
|
.Prop(_SC("Node"), &XmlDocument::GetNode)
|
||||||
// Member Methods
|
// Member Methods
|
||||||
.Overload< void (XmlDocument::*)(void) > (_SC("Reset"), &XmlDocument::Reset)
|
.Overload< void (XmlDocument::*)(void) > (_SC("Reset"), &XmlDocument::Reset)
|
||||||
.Overload < void (XmlDocument::*)(const XmlDocument &) >(_SC("Reset"), &XmlDocument::Reset)
|
.Overload < void (XmlDocument::*)(const XmlDocument &) >(_SC("Reset"), &XmlDocument::Reset)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user