Skip to content

How to inject custom attributes? #1804

Closed Answered by tritao
ds5678 asked this question in Q&A
Dec 9, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

You might be in luck, looks like we have some kind of support for writing attributes per declaration:

Check these and let me know if it helps:

https://github.com/mono/CppSharp/blob/main/src/AST/Declaration.cs#L312
https://github.com/mono/CppSharp/blob/main/src/Generator/Generators/CSharp/CSharpSources.cs#L359

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ds5678
Comment options

@tritao
Comment options

Answer selected by ds5678
@ds5678
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants