Skip to content

Releases: dmazzella/node-ctypes

v0.1.5

22 Jan 21:27

Choose a tag to compare

v0.1.4

22 Jan 07:30

Choose a tag to compare

Added Python ctypes-like syntax:

import { CDLL, c_int } from 'node-ctypes';

const libc = new CDLL("libc.so.6");
const abs_func = libc.abs;
abs_func.argtypes = [c_int];
abs_func.restype = c_int;
console.log(abs_func(-42));  // 42

v0.1.3

19 Jan 10:37

Choose a tag to compare

v0.1.3