Skip to content

Commit

Permalink
Fix some typo in ffi related files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Jun 17, 2008
1 parent 44bcefc commit 35ea463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/platform/ffi.rb
Expand Up @@ -49,7 +49,7 @@ def create_backend(library, name, args, ret)
end

# Internal function, should not be used directly.
# See Module#attach_foreign.
# See Module#attach_function.
#
# TODO: Is this necessary at all? When would we ever
# create an unattached method (not a Method)?
Expand Down
2 changes: 1 addition & 1 deletion spec/ffi/ffi_struct_spec.rb
@@ -1,7 +1,7 @@
require File.dirname(__FILE__) + '/../spec_helper'

module FFIStructSpecs
DummyLayout = ['a', :int, 0]
DummyLayout = [:a, :int, 0]

class DummyStruct < FFI::Struct
layout(*DummyLayout)
Expand Down

0 comments on commit 35ea463

Please sign in to comment.