new object creation interface
This commit is contained in:
parent
c737f41d8a
commit
e937d189df
23 changed files with 103 additions and 84 deletions
|
|
@ -13,7 +13,7 @@ void LinkObject::destructor(LinkObject* self) {
|
|||
void LinkObject::copy(LinkObject* self, const LinkObject* in) { self->setLink(in->link); }
|
||||
|
||||
LinkObject* LinkObject::create(Object* in) {
|
||||
auto out = objects_api::cast<LinkObject>(NDO->create("link"));
|
||||
auto out = objects_api::create<LinkObject>();
|
||||
return out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue