Class: Spoon::SpawnAttributes::Releaser

Inherits:
Object
  • Object
show all
Defined in:
lib/spoon/unix.rb

Class Method Summary collapse

Class Method Details

.call(ptr) ⇒ Object



65
66
67
68
# File 'lib/spoon/unix.rb', line 65

def self.call(ptr)
  LibC.posix_spawnattr_destroy(ptr)
  LibC.free(ptr)
end