Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whitespace

Fix whitespace (remove tabs).
  • Loading branch information...
commit 63816897cf6532247b1939034b3ed6950610c839 1 parent 1eadc3e
@libc authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/spoon/unix.rb
View
10 lib/spoon/unix.rb
@@ -87,7 +87,7 @@ def self.spawn(*args)
def self.spawnp(*args)
posix_spawnp(args[0], nil, nil, args, ENV)
end
-
+
private
class PointerArray
@@ -102,9 +102,9 @@ def <<(ptr)
def pointer
if @pointer.nil? || (@pointer.size / @pointer.type_size) <= @ary.length
- ptr = FFI::MemoryPointer.new(:pointer, @ary.length + 1)
- ptr.put_array_of_pointer(0, @ary)
- @pointer = ptr
+ ptr = FFI::MemoryPointer.new(:pointer, @ary.length + 1)
+ ptr.put_array_of_pointer(0, @ary)
+ @pointer = ptr
end
@pointer
end
@@ -129,7 +129,7 @@ class PointerConverter
native_type FFI::Type::POINTER
def self.to_native(value, ctx)
- value ? value.pointer : nil
+ value ? value.pointer : nil
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.