method

malloc

v1_9_3_392 - Show latest stable - Class: DL::CStructEntity
malloc(types, func = nil)
public

No documentation available.

# File ext/dl/lib/dl/struct.rb, line 50
    def CStructEntity.malloc(types, func = nil)
      addr = DL.malloc(CStructEntity.size(types))
      CStructEntity.new(addr, types, func)
    end