module FFI::Library

def ffi_lib_flags(*flags)

Returns:
  • (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