已开启
[Bug-Report|缺陷反馈]: rt 接口参数名与 ApiImpl 实现参数名不一致 #889
zhangpengpeng8创建于  24 天前
zhangpengpeng8成员
24 天前 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

NULL_PTR_RETURN_MSG_OUTER_WITH_FUNC_DESC 宏通过 #PTR 字符串化参数名打印错误信息。
当 ApiImpl 实现的参数名与 rt 接口的参数名不一致时,错误信息中打印的参数名与 rt 接口文档不一致。

Environment / 环境信息 (Mandatory / 必填)

所有环境

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

调用对应的rt接口

Describe the expected behavior / 预期结果 (Mandatory / 必填)

报错日志中endEvt与rt接口rtEventElapsedTime中入参名字endEvent一致
image.png

[PID: 264153] 2026-08-27-07:36:35.048.990 Invalid_Argument_Null_Pointer(EE1004): Computing the elapsed time between two events failed because endEvt cannot be a NULL pointer.
Solution: Try again with a correct pointer argument.

Special notes for this issue/备注 (Optional / 选填)

likedislike
Zzhangpengpeng8成员
24 天前 添加了label:bug-report
Zzhangpengpeng8成员
24 天前 将 zhangpengpeng8 设为负责人
Nningjingyuan成员
23 天前 关联了pull request:【PR】: fix: 统一 Runtime API 参数名与错误信息
Zzhangpengpeng8成员
23 天前 将 ningjingyuan 设为负责人
Zzhangpengpeng8成员
23 天前 移除了负责人 ningjingyuan
Zzhangpengpeng8成员
23 天前 移除了负责人 zhangpengpeng8
Zzhangpengpeng8成员
23 天前 将 ningjingyuan 设为负责人
Nningjingyuan成员
23 天前 关联了pull request:【PR】: fix: 统一 Runtime API 参数名与错误信息
Zzhangpengpeng8成员
22 天前 修改了issue 的描述
Nningjingyuan成员
20 天前 关联了pull request:【PR】: fix: 统一 Event 和 Notify 接口参数名(#889)
ningjingyuan成员
11 天前 评论:

已全量梳理,陆续整改中

likedislike
Nningjingyuan成员
11 天前 关联了pull request:【PR】: fix: 统一 CntNotify 接口参数名(#889)
Nningjingyuan成员
2 天前 关联了pull request:fix: 统一内存和队列接口参数名(#889)