c - C中的外部结构声明
问题描述
我对C相当陌生,因此有人可以帮我理解下面的结构声明吗?
extern struct server_module* module_open (const char* module_path);
根据我的理解,module_open
是指向的指针struct server_module
,但是,不理解语句的最后一部分,即(const char* module_path)
解决方案
extern struct server_module* module_open (const char* module_path);
声明module_open
为一个函数,它接受一个名为module_path
type的参数const char *
并返回一个struct server-module *
.
推荐阅读
- javascript - 如何使用基于字符的正则表达式将值匹配到单独的可选组中?
- python - pip 会卸载模块吗?
- excel - 我收到编译错误预期识别功能错误
- flutter - 背景图像未设置为白色 | 为文本添加样式
- excel - excel中的MOD函数
- angular-material - 在 ngIf 过滤器之后,Mat Cards 没有重新排列到同一行
- javascript - 正则表达式 - 查找所有以 $_ 开头且位于模板字符串之间任意位置的单词
- hibernate - Hibernate:如何强制对所有嵌套属性进行单个查询?
- flutter - 当我开始输入 textField 它溢出颤动
- spring - 如何在邮递员中为嵌套字段相等性编写相等测试