Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfa81515

Browse files
author
eddyStreamlabs
committed
Fixed initialize module
1 parent0f58a63 commitfa81515

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎obs-studio-client/source/module.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ void osn::Module::Register(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE target)
3939
fnctemplate->SetClassName(Nan::New<v8::String>("Module").ToLocalChecked());
4040

4141
utilv8::SetTemplateField(fnctemplate,"open", Open);
42-
utilv8::SetTemplateField(fnctemplate,"initialize", Initialize);
4342

4443
v8::Local<v8::Template> objtemplate = fnctemplate->PrototypeTemplate();
44+
utilv8::SetTemplateField(objtemplate,"initialize", Initialize);
45+
4546
utilv8::SetTemplateAccessorProperty(objtemplate,"name", Name);
4647
utilv8::SetTemplateAccessorProperty(objtemplate,"fileName", FileName);
4748
utilv8::SetTemplateAccessorProperty(objtemplate,"author", Author);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp