class FFI::Struct

def self.size=(size)

Returns:
  • (size) -

Parameters:
  • size (Numeric) --
def self.size=(size)
  raise ArgumentError, "Size already set" if defined?(@size) || defined?(@layout)
  @size = size
end