Electron, Chrome API Node.js. nbind, ++ JavaScript. , .
++, - ++ 11:
NBIND_CLASS(X) {
construct<int, int>();
method(Y);
method(Z);
}
X , 2 ints Y Z .
nbind Here is an example of how to pack your C ++ code into the Node.js addon for use in Electron.
jjrv source
share