module AutoItFFI::FunctionAttacher

Constants

FUNCTION_PROTOTYPES

Public Class Methods

attach(lib) click to toggle source

Attaches the AutoIt DLL functions to lib (which must extend FFI::Library). See “doc/Function Prototypes ©.txt” for the C header file.

# File lib/function_attacher.rb, line 34
def self.attach(lib)
  FUNCTION_PROTOTYPES.each { |fun| lib.attach_function *fun }
end