method

size

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

Returns the size needed for the union with the given types.

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