Skip to content

AutoGenerated File Errors #172

Answered by mjakeman
archanox asked this question in Q&A
Jan 1, 2021 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Thanks for pointing this out.

That's actually a bug with our generation, as the internal snake_case API shouldn't be publicly accesible, so AsyncQueue obviously isn't generating correctly. Normally we hide these functions inside a static class called Native, and then hand-write methods which 'wrap' the C API.

A quick overview of the project structure for reference:

We currently have two "layers" in the project. The autogenerated layer is comprised of files such as SomeConstruct.Generated.cs, while the managed layer would be SomeConstruct.cs. Anything checked into this repo is part of the managed layer, while the autogenerated layer is the internal private API.

At the moment, the bindings …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@badcel
Comment options

@badcel
Comment options

Comment options

You must be logged in to vote
1 reply
@badcel
Comment options

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