Created
June 4, 2021 06:52
-
-
Save IFeelBloated/4b49c340bf5ba960ce3e628e5166d7e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "PluginInstantiator.vxx" | |
auto Main() { | |
auto Configurations = PluginInfo{ | |
.Namespace = "test", | |
.Identifier = "com.dontcare.test", | |
.Description = "whatever" | |
}; | |
PluginInstantiator::Initialize(Configurations); | |
PluginInstantiator::RegisterFunction("Test(clip: vnode)", [](auto Arguments, auto Core) { | |
auto Clip = static_cast<Node>(Arguments["clip"]); | |
Core.Print(Clip[0]); | |
return static_cast<std::string>(Clip[0]); | |
}); | |
} | |
InstantiatePluginFrom(Main); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dll: https://github.com/IFeelBloated/test_c_filters/blob/master/test.dll