module FFI::Library
def ffi_lib_flags(*flags)
-
(Integer)
- the new value
Parameters:
-
flags
(Symbol, …
) -- (see {FlagsMap})
def ffi_lib_flags(*flags) @ffi_lib_flags = flags.inject(0) { |result, f| result | FlagsMap[f] } end
(Integer)
- the new value
flags
(Symbol, …
)
-- (see {FlagsMap})
def ffi_lib_flags(*flags) @ffi_lib_flags = flags.inject(0) { |result, f| result | FlagsMap[f] } end