mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-02-08 07:17:14 +01:00
Update the XML module to work with the modified API.
Separate the XML handles into their own source files.
This commit is contained in:
16
modules/xml/Handle/Document.cpp
Normal file
16
modules/xml/Handle/Document.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Handle/Document.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
void DocumentRef::Validate() const
|
||||
{
|
||||
if (!m_Ptr)
|
||||
{
|
||||
STHROWF("Invalid XML document reference");
|
||||
}
|
||||
}
|
||||
|
||||
} // Namespace:: SqMod
|
||||
Reference in New Issue
Block a user