Const
Lazy-loading namespace for CDLL libraries. Attribute access auto-loads on first use and caches the instance.
Python equivalent: ctypes.cdll
ctypes.cdll
import { cdll, c_uint32 } from 'node-ctypes';const strlen = cdll.msvcrt.func('strlen', c_uint32, [c_void_p]); Copy
import { cdll, c_uint32 } from 'node-ctypes';const strlen = cdll.msvcrt.func('strlen', c_uint32, [c_void_p]);
Lazy-loading namespace for CDLL libraries. Attribute access auto-loads on first use and caches the instance.
Python equivalent:
ctypes.cdll