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

間違ったchar*の解放を明示的に拒否する #500

Merged
merged 8 commits into from
May 29, 2023

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented May 24, 2023

内容

関連 Issue

Resolves #499.

その他

よく考えたらproject-vvm-async-api

  1. get_json()を関数ではなく定数に
  2. get_supported_devices_json()が返す文字列を非staticに

すれば間違える先はエラーメッセージ文字列くらいしか無くなるので、必要性は薄れるかもしれません。

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

意図がわかりやすくて良いと思います!

crates/voicevox_core_c_api/src/helpers.rs Outdated Show resolved Hide resolved
crates/voicevox_core_c_api/src/lib.rs Outdated Show resolved Hide resolved
@qryxip qryxip mentioned this pull request May 26, 2023
67 tasks
@Hiroshiba
Copy link
Member

たぶん大丈夫だと思うのでマージします!

@Hiroshiba Hiroshiba merged commit 7de38d3 into VOICEVOX:main May 29, 2023
Hiroshiba added a commit that referenced this pull request Jun 12, 2023
* Docs: 事例紹介にvoicevoxcore.goを追加 (#498)

Docs: 事例紹介のvoicevoxcore.goを追加

* 間違った`char*`の解放を明示的に拒否する (#500)

* Cargo.tomlをフォーマットする (#504)

* Update rust toolchain 1.70.0 (#506)

Co-authored-by: PickledChair <[email protected]>
Co-authored-by: Ryo Yamashita <[email protected]>

* Rust APIのbuild.rsを抹消する (#508)

* Python APIでは`panic=unwind`にする (#505)

* Python APIでは`panic=unwind`にする

* C APIは`-C panic=abort`でビルドする

* READMEのスペースが足りてなかった (#511)

* windows-latestでなぜかdownload_testが落ちるのを改修 (#517)

* windows-latestでなぜかdownload_testが落ちるのを修正

* a

* cbindgenに`fn.args=vertical`を設定し、`__declspec`の後の空行を消す (#518)

* `__declspec(dllimport)`と関数定義の隙間の空行を消す

* `fn.args="vertical"`を設定

* cbindgenの`include_version`を有効化する (#519)

* cbindgenの`include_version`を有効化する

* jobをリネーム

* 誤字

---------

Co-authored-by: Kota Amasaka <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: PickledChair <[email protected]>
Co-authored-by: Hiroshiba <[email protected]>
qryxip added a commit to qryxip/voicevox_core that referenced this pull request Jun 13, 2023
Hiroshiba pushed a commit that referenced this pull request Jun 13, 2023
@qryxip qryxip mentioned this pull request Jul 22, 2023
69 tasks
@qryxip qryxip mentioned this pull request Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

間違ったchar*の解放を明示的に拒否する
2 participants