Skip to content

Instantly share code, notes, and snippets.

@kuc-arc-f
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuc-arc-f/9420428f8ab813b49f58 to your computer and use it in GitHub Desktop.
Save kuc-arc-f/9420428f8ab813b49f58 to your computer and use it in GitHub Desktop.
sample, asm.js
//test.js
onload = function(){
console.log('#onload');
var ex_func01= cwrap( 'ex_func01', 'string', ['number' ,'number' ,'string' ] );
var ret= ex_func01(1, 2.0, 'arg3');
console.log('#ret=' +ret );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment