A C union wrapper
Methods
- M
- S
Class Public methods
malloc(types, func=nil)
Link
size(types)
Link
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
Instance Public methods