Skip to content

Functions in native block (written in C) expect pointers as parameters #128

Closed Answered by pfusik
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

The code inside native block is in the target language. If you are transpiling to C, type C code:

int i = 42;
native { my_c_function(&i); }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant