method

malloc

ruby latest stable - Class: DL::CUnionEntity

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

malloc(types, func=nil)
public

Allocates a C union the types provided. The C function func is called when the instance is garbage collected.