Skip to content

Importing SDL2 functions in an extern file #38

Answered by edubart
AlectronikForge asked this question in Q&A
Discussion options

You must be logged in to vote

For complete SDL2 bindings I suggest to use https://github.com/edubart/nelua-decl/blob/main/libs/sdl2/sdl2.nelua
Check in this file how I export symbols to other files, also see the sdl-test.nelua in the same repository as a usage example.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by edubart
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #38 on December 24, 2020 13:53.