mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Rename Create/Destroy to Construct/Destruct
This is less likely to clash with names used by interfaces and it's a bit clearer what's going on (since they are basically proxies for constructors and destructors).
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
|
||||
#include "component.h"
|
||||
|
||||
YaComponent::CreateArgs::CreateArgs() {}
|
||||
YaComponent::ConstructArgs::ConstructArgs() {}
|
||||
|
||||
YaComponent::CreateArgs::CreateArgs(
|
||||
YaComponent::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::Vst::IComponent> component,
|
||||
size_t instance_id)
|
||||
: instance_id(instance_id) {
|
||||
@@ -29,7 +29,7 @@ YaComponent::CreateArgs::CreateArgs(
|
||||
}
|
||||
}
|
||||
|
||||
YaComponent::YaComponent(const CreateArgs&& args) : arguments(std::move(args)) {
|
||||
YaComponent::YaComponent(const ConstructArgs&& args) : arguments(std::move(args)) {
|
||||
FUNKNOWN_CTOR
|
||||
|
||||
// Everything else is handled directly through callbacks to minimize the
|
||||
|
||||
Reference in New Issue
Block a user