Skip to content
Discussion options

You must be logged in to vote

Yes, this is basically an interface for working with the platform layer. I did want to try experimenting with solving these in a platform independent way.

Those are all function pointers where a platform specific implementation will actually implement them. That way the platform independent knows that it can just call that function pointer and it will dispatch to the proper function as implemented in the platform specific code.

That struct is where you can basically declare and define what you need from the platform layer.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by btgvesta
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