From 2daee7fd47cf83691e5406354f50a3da66c3b6f5 Mon Sep 17 00:00:00 2001 From: Yuhang Guo <22561797+Sherry520@users.noreply.github.com> Date: Mon, 12 Aug 2024 20:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9painful=E7=9A=84=E7=BF=BB?= =?UTF-8?q?=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- book/B-embedding-git/sections/libgit2.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/B-embedding-git/sections/libgit2.asc b/book/B-embedding-git/sections/libgit2.asc index 59e09081..7cfc76d0 100644 --- a/book/B-embedding-git/sections/libgit2.asc +++ b/book/B-embedding-git/sections/libgit2.asc @@ -49,7 +49,7 @@ git_repository_free(repo); 值 `0` 表示成功,比它小的则是一个错误。 * 如果 Libgit2 为你填入一个指针,那么你有责任释放它。 * 如果 Libgit2 在一个调用中返回一个 `const` 指针,你不需要释放它,但是当它所指向的对象被释放时它将不可用。 -* 用 C 来写有点蛋疼。 +* 用 C 来写有点痛苦。 (((Ruby))) 最后一点意味着你应该不会在使用 Libgit2 时编写 C 语言程序。