简体   繁体   English

“ __callback” SAL注释的作用是什么?

[英]What is effect of “__callback” SAL annotation?

While I certainly understand the purpose of buffer annotations, I can't see what kind of errors __callback detects. 虽然我当然了解缓冲区注释的用途,但我看不到__callback检测到哪种错误。

Any ideas, examples? 有什么想法,例子吗?

因为如果您忘记了返回void *并且不是回调的内容,SAL会告诉您有关信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SAL(源注释语言)的目的是什么,SAL 1和2之间有什么区别? - What is the purpose of SAL (Source Annotation Language) and what is the difference between SAL 1 and 2? 奇怪的 SAL 注释警告 - Strange SAL annotation warning 配置Doxygen以忽略源代码注释语言(SAL) - Configure Doxygen to ignore the Source-Code Annotation Language (SAL) 微软的源注释语言(SAL) - 任何利用它的方法? - Microsoft's Source Annotation Language (SAL) — any way to take advantage of it? 在Doxygen中使用Microsoft的源代码注释语言(SAL)? - Using Microsoft's Source-Code Annotation Language (SAL) with Doxygen? Microsoft 是否从 MSDN 中的 function 定义中删除了源代码注释语言 (SAL) 和调用约定 - Did Microsoft drop source-code annotation language (SAL) and calling convention from their function definition in MSDN Microsoft 源代码注释语言 (SAL) 不给出 C26100 或其他警告 - Microsoft source code annotation language (SAL) does not give C26100 or other warnings 通过std :: function是否安全? <bool(std::string)> &amp;&amp; callback(即右值移动)会产生什么影响? - Is it safe to pass std::function<bool(std::string)> &&callback (i.e. as a rvalue move) and what is the effect? SAL注释和指针参数 - SAL annotations and pointer parameters 什么是RPC回调线程? - What is an RPC Callback Thread?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM