UNPKG

@ahmic/autoit-js

Version:
20 lines (17 loc) 374 B
import koffi from 'koffi'; import { LONG } from './win32.js'; class Point { x; y; constructor(point) { this.x = point?.x ?? 0; this.y = point?.y ?? 0; } } const POINT = koffi.struct('POINT', { x: LONG, y: LONG, }); const LPPOINT = koffi.pointer('LPPOINT', POINT); export { LPPOINT, POINT, Point }; //# sourceMappingURL=point.js.map