Class: CP::BodyStruct

Inherits:
NiceFFI::Struct
  • Object
show all
Defined in:
lib/chipmunk-ffi/body.rb

Class Method Summary collapse

Class Method Details

.release(me) ⇒ Object



28
29
30
31
# File 'lib/chipmunk-ffi/body.rb', line 28

def self.release(me)
  # TODO is this right?
  CP.cpBodyDestroy me
end