Module: Ethon::Libc Private

Extended by:
FFI::Library
Defined in:
lib/ethon/libc.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

FFI Wrapper module for Libc.

Constant Summary collapse

CONF =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

enum(*fcg.constants.map{|_, const|
  [const.ruby_name, const.converted_value]
}.flatten)

Class Method Summary collapse

Class Method Details

.windows?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

:nodoc:

Returns:

  • (Boolean)


12
13
14
# File 'lib/ethon/libc.rb', line 12

def self.windows?
  Gem.win_platform?
end