Generate function-like macro binding instantiations for a known list of types
- Dominant language
- C#
- Stars
- 1.3k
- Forks
- 187
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 1
Description
Maybe when `-g macro-bindings` is enabled and a function-like macro binding is encountered, force a lookup in the .rsp settings to find the user-supplied list of types to generate for?
For example for this:
- https://github.com/erincatto/box3d/blob/d421e45c828f6f853a145f726f0b9425d31146eb/include/box3d/id.h#L105
I can supply all the ID types except b3WorldId for B3_ID_EQUALS such that ClangSharpInvokeGenerator knows which ones to generate for.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the -g macro-bindings path in ClangSharpInvokeGenerator and how .rsp settings are read. Determine how a user-supplied list of types should drive function-like macro binding instantiations; done means the listed types generate bindings while an omitted type such as b3WorldId does not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100