1
This commit is contained in:
parent
399eed8bd8
commit
73177454cc
@ -8,28 +8,18 @@ namespace a8
|
||||
{
|
||||
}
|
||||
|
||||
a8::MutableXObject* MutableXObject::NewObject()
|
||||
std::shared_ptr<a8::MutableXObject> MutableXObject::CreateObject()
|
||||
{
|
||||
a8::MutableXObject* obj = new a8::MutableXObject();
|
||||
obj->ConvertObject();
|
||||
return obj;
|
||||
}
|
||||
|
||||
a8::MutableXObject* MutableXObject::NewArray()
|
||||
{
|
||||
a8::MutableXObject* obj = new a8::MutableXObject();
|
||||
obj->ConvertArray();
|
||||
return obj;
|
||||
}
|
||||
|
||||
std::shared_ptr<a8::MutableXObject> MutableXObject::CreateObject()
|
||||
{
|
||||
return std::shared_ptr<a8::MutableXObject>(NewObject());
|
||||
return std::shared_ptr<a8::MutableXObject>(obj);
|
||||
}
|
||||
|
||||
std::shared_ptr<a8::MutableXObject> MutableXObject::CreateArray()
|
||||
{
|
||||
return std::shared_ptr<a8::MutableXObject>(NewArray());
|
||||
a8::MutableXObject* obj = new a8::MutableXObject();
|
||||
obj->ConvertArray();
|
||||
return std::shared_ptr<a8::MutableXObject>(obj);
|
||||
}
|
||||
|
||||
a8::MutableXObject& MutableXObject::Push(a8::XValue val)
|
||||
|
@ -10,9 +10,6 @@ namespace a8
|
||||
|
||||
public:
|
||||
|
||||
static a8::MutableXObject* NewObject();
|
||||
static a8::MutableXObject* NewArray();
|
||||
|
||||
static std::shared_ptr<a8::MutableXObject> CreateObject();
|
||||
static std::shared_ptr<a8::MutableXObject> CreateArray();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user