Skip to content

native blocks for multiple languages in only one Fusion source file? #111

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

You must be logged in to vote

Use conditional compilation:

#if JAVA
System.gc(); // Java code
#endif
fut -D JAVA -o Foo.java foo.fu

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