c2v
c2v copied to clipboard
V Translate - header files not detected, no wrapper generated
Describe the bug
I attempted to make a wrapper for the Playdate SDK, but v translate detected no files when passing in a directory, and translated nothing.
Reproduction Steps
In the root of the provided files, run v translate wrapper src/playdate/include
.
Expected Behavior
It creates a wrapper around the playdate API.
Current Behavior
It compiles 0 files.
Possible Solution
No response
Additional Information/Context
V version
0.4.2 11e67a1
Environment details (OS name and version, etc.)
Windows 11
[!NOTE] You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.
You need to make a c2v.toml
file that contains the header files your C file uses.
See https://github.com/vlang/c2v?tab=readme-ov-file#configuration