-
-
Save chrisdickinson/904de7e97fff09f1939d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef require | |
#require(x, {y: b}) as zzz_ret zzz(int a); | |
#export(main) | |
#else | |
struct zzz_ret{ int a; } zzz(int a); | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifdef glslify | |
#require(some module) | |
y = b; | |
z = d; | |
#as | |
zzz_ret zzz(int z); | |
#export(main) | |
#else | |
struct zzz_ret{ int a; } zzz(int a); | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment