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