Created
November 5, 2014 05:11
-
-
Save aidanhs/69ad2d7c8959908d64b1 to your computer and use it in GitHub Desktop.
Simple em_asm
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
int main(void) { | |
int x = EM_ASM_INT({ | |
Module.print('I received: ' + $0); | |
return $0 + 1; | |
}, 100) | |
return x; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment