Permalink
Browse files

Whitespace

Fix whitespace (remove tabs).
  • Loading branch information...
1 parent 1eadc3e commit 63816897cf6532247b1939034b3ed6950610c839 @libc committed Dec 26, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/spoon/unix.rb
View
@@ -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

0 comments on commit 6381689

Please sign in to comment.