class FFI::Struct

def self.size=(size)

Returns:
  • (size) -

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