Sha256: 64f39450ea10f36ec854bc2e52dddee6c09920c021ad08bc58c682d941e727c4

Contents?: true

Size: 1 KB

Versions: 181

Compression:

Stored size: 1 KB

Contents

#
# Copyright (C) 2008-2010 Wayne Meissner
#
# All rights reserved.
#
# This file is part of ruby-ffi.
#
# This code is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License version 3 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# version 3 for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with this work.  If not, see <http://www.gnu.org/licenses/>.
#

module FFI
  # @return (see FFI::LastError.error)
  # @see FFI::LastError.error
  def self.errno
    FFI::LastError.error
  end
  # @param error (see FFI::LastError.error=)
  # @return (see FFI::LastError.error=)
  # @see FFI::LastError.error=
  def self.errno=(error)
    FFI::LastError.error = error
  end
end

Version data entries

181 entries across 165 versions & 14 rubygems

Version Path
yakg-0.1.11 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.11 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.10 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.10 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.9 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.9 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.8 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.8 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.7 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.7 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.6 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.6 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.5 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.5 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.3 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.1.3 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.0.11 vendor/gems/ruby/1.8/gems/ffi-1.9.0/lib/ffi/errno.rb
yakg-0.0.11 vendor/gems/ruby/1.9.1/gems/ffi-1.9.0/lib/ffi/errno.rb
classiccms-0.7.5 vendor/bundle/gems/ffi-1.0.11/lib/ffi/errno.rb
classiccms-0.7.4 vendor/bundle/gems/ffi-1.0.11/lib/ffi/errno.rb