Class: Haconiwa::Cap_T

Inherits:
FFI::ManagedStruct
  • Object
show all
Defined in:
lib/haconiwa/small_libcap.rb

Class Method Summary collapse

Class Method Details

.release(ptr) ⇒ Object



8
9
10
# File 'lib/haconiwa/small_libcap.rb', line 8

def self.release(ptr)
  SmallLibcap.cap_free ptr
end