Fiddle::CParser should expose module methods
还没有人认领这个 Issue。
评估
调研方向
从 fiddle/cparser 入口点开始,检查现有的 Fiddle::CParser 实例方法,包括 parse_struct_signature。确认这些方法是如何暴露的,然后在保留现有实例接口的同时,使相同的操作可以通过 Fiddle::CParser 调用。Issue 中所示的模块方法用法能够正常工作,即表示完成。
由索引模型根据 Issue 内容生成。
描述
The methods in Fiddle::CParser such as parse_struct_signature are useful on their own, outside of a class instance.
Would it make sense to be able to call these as module methods, in addition to the existing instance method interface?
i.e.
require 'fiddle/cparser'
Fiddle::CParser.parse_struct_signature(...)
- 主要语言
- Ruby
- 星标
- 195
- 派生
- 53
- 平均合并
- 23 小时 57 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ruby/fiddle 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 52/100
-
难度 3/5 1-2 天 新手友好度 68/100
-
难度 5/5 一周以上 新手友好度 30/100
-
难度 2/5 1-3 小时 新手友好度 52/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
TheOdinProject/curriculum#31417 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 65/100
glossarist/glossarist-ruby#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
palladius/rails8-app-on-gcp#145 ·