Skip to content

Commit

Permalink
cbindgenにfn.args=verticalを設定し、__declspecの後の空行を消す (#518)
Browse files Browse the repository at this point in the history
* `__declspec(dllimport)`と関数定義の隙間の空行を消す

* `fn.args="vertical"`を設定
  • Loading branch information
qryxip authored Jun 11, 2023
1 parent 5de8ddf commit e022397
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 32 deletions.
4 changes: 2 additions & 2 deletions crates/voicevox_core_c_api/cbindgen.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ documentation_style = "doxy"
prefix = """
#ifdef _WIN32
__declspec(dllimport)
#endif
"""
#endif"""
args = "vertical"

[enum]
rename_variants = "ScreamingSnakeCase"
Expand Down
36 changes: 6 additions & 30 deletions crates/voicevox_core_c_api/include/voicevox_core.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e022397

Please sign in to comment.