Module: FFI::Library

Included in:
Sys::Filesystem::Functions
Defined in:
lib/windows/sys/filesystem/functions.rb

Overview

Make FFI functions private

Instance Method Summary collapse

Instance Method Details

#attach_pfunc(*args) ⇒ Object



11
12
13
14
# File 'lib/windows/sys/filesystem/functions.rb', line 11

def attach_pfunc(*args)
  attach_function(*args)
  private args[0]
end