// embed.rb
// a threading for using rust code
// from ruby
//
// vim: ft=javascript sw=4 ts=4

'use strict';

var ffi = require('ff');

var lib = ffi.Library('target/release/libembed', {
	'process': [ 'void', [] ]
});

lib.process();

console.log("done!");


@@ -129,13 +129,63 @@
 ('ff
+i
 ');%0A%0A
+// for Windows: embed.dll%0A// for Linux: libembed%0A
 var 
@@ -218,24 +218,25 @@
 release/
-lib
 embed
+.dll
 ', %7B%0A%09'p

! fix typo of ffi import