method

size

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: CStructEntity
size(types) public

Returns the offset for the packed sizes for the given types.

Fiddle::CStructEntity.size(
  [ Fiddle::TYPE_DOUBLE,
    Fiddle::TYPE_INT,
    Fiddle::TYPE_CHAR,
    Fiddle::TYPE_VOIDP ]) #=> 24
Show source
Register or log in to add new notes.