11 lines
158 B
JavaScript
11 lines
158 B
JavaScript
|
'use strict';
|
||
|
|
||
|
let ffi = require('ffi');
|
||
|
|
||
|
let lib = ffi.Library('target/release/libembed', {
|
||
|
process: ['void', []]
|
||
|
});
|
||
|
|
||
|
lib.process();
|
||
|
|
||
|
console.log("done!");
|