functiondef在tornado / vxworks上意味着什么? [英] What does functiondef mean at tornado / vxworks?
问题描述
我有一个基于VxWorks / Tornado的项目。我找到了一些代码片段如下:
GF_RESULT FunctionDef gf_mvb_stop(void);
其中GF_RESULF是定义为
I got a project based on VxWorks/Tornado. I found some code snippet as below:
GF_RESULT FunctionDef gf_mvb_stop (void);
where GF_RESULF is defined as
typedef UNSIGNED16 GF_RESULT;
我不知道FunctionDef是什么意思。我无法在所有Tornado或VxWorks文档中找到它。我甚至不能谷歌。我想它是(void *())。有谁知道呢?
我尝试了什么:
我浏览了所有Tornado / VxWorks文档,没有对它的定义。我用Google搜索,但得到的解释是Python的术语。我无法在VxWorks项目的所有头文件中找到它。
I don't know what FunctionDef means. I can't find it at all Tornado or VxWorks documents. I can't even google it. I guess it as (void *()). Does anyone know it?
What I have tried:
I browsed all Tornado/VxWorks documents, no definitions for it. I googled it but got explanation seeing it as Python's term. I couldn't find it at all header files at the VxWorks project either.
推荐答案
你应该从你获得该样本的地方检查来源以找到定义(不要不要忘记make和项目文件。
它可能是GCC__ attribute __
(功能属性 - 使用GNU编译器集合(GCC) [ ^ ])。
You should check the sources from where you got that sample to find the definition (dont't forget the make and project files).
It may be a GCC__attribute__
(Function Attributes - Using the GNU Compiler Collection (GCC)[^]).
这篇关于functiondef在tornado / vxworks上意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!