Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

デフォルト引数はC言語では使えないのでC++のみに有効になるように変更した #122

Merged
merged 1 commit into from
May 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion core/src/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ typedef enum {
* 何度も実行可能。use_gpuを変更して実行しなおすことも可能。
* 最後に実行したuse_gpuに従って他の関数が実行される。
*/
VOICEVOX_CORE_API bool initialize(bool use_gpu, int cpu_num_threads = 0);
VOICEVOX_CORE_API bool initialize(bool use_gpu, int cpu_num_threads
#ifdef __cplusplus
= 0
#endif
);
Hiroshiba marked this conversation as resolved.
Show resolved Hide resolved

/**
* @fn
Expand Down