Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C header gen: optional extra text directly after the include guard #199

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Conversation

pixsperdavid
Copy link
Contributor

I need this specifically to add some definitions for DLL function importing when loading functions from a DLL on windows (__declspec(dllimport)).

Copy link
Collaborator

@danielhenrymantilla danielhenrymantilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

  • (do you need this to be released to crates-io, or can you make do with a { git = "https://github.com/getditto/safer_ffi.git", rev = "ed29f7e076e05f3a92a03b4b3686c57543e9133e" } dependency until my next release?)

@pixsperdavid
Copy link
Contributor Author

Thanks for approving! No need an official release yet as there's another piece of work to do before this is usable, see #202

@danielhenrymantilla danielhenrymantilla changed the title Added ability to specify text to be included in C header files directly after the include guard C header gen: optional extra text directly after the include guard Jan 31, 2024
@danielhenrymantilla danielhenrymantilla merged commit 370f8b0 into getditto:master Jan 31, 2024
110 checks passed
@danielhenrymantilla
Copy link
Collaborator

(took the liberty to shorten the PR title to get a shorter commit title)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants