115 Star 0 Fork 15

src-openEuler/vala

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-build-error-TRUE-ture.patch 1006 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangxianting 提交于 2024-07-26 15:58 . fix build error
From 0e2b0c6b6d9bc63cd7ff9c07e0a28955d2aeee22 Mon Sep 17 00:00:00 2001
From: zhangxianting <[email protected]>
Date: Fri, 26 Jul 2024 15:56:44 +0800
Subject: [PATCH] fix build error TRUE ture
---
libvaladoc/gvc-compat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libvaladoc/gvc-compat.c b/libvaladoc/gvc-compat.c
index 5846334..2131ecd 100644
--- a/libvaladoc/gvc-compat.c
+++ b/libvaladoc/gvc-compat.c
@@ -48,7 +48,7 @@ Agnode_t*
valadoc_compat_gvc_graph_create_node (Agraph_t* graph, const char *name)
{
#ifdef WITH_CGRAPH
- return agnode (graph, (char*) name, TRUE);
+ return agnode (graph, (char*) name, true);
#else
return agnode (graph, (char*) name);
#endif
@@ -68,7 +68,7 @@ Agedge_t*
valadoc_compat_gvc_graph_create_edge (Agraph_t* graph, Agnode_t* from, Agnode_t* to)
{
#ifdef WITH_CGRAPH
- return agedge (graph, from, to, NULL, TRUE);
+ return agedge (graph, from, to, NULL, true);
#else
return agedge (graph, from, to);
#endif
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/vala.git
[email protected]:src-openeuler/vala.git
src-openeuler
vala
vala
master

搜索帮助