summaryrefslogtreecommitdiff
path: root/ext/dl/lib/dl/pack.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/lib/dl/pack.rb')
-rw-r--r--ext/dl/lib/dl/pack.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dl/lib/dl/pack.rb b/ext/dl/lib/dl/pack.rb
index 085b42bf173..d760edaab5e 100644
--- a/ext/dl/lib/dl/pack.rb
+++ b/ext/dl/lib/dl/pack.rb
@@ -74,7 +74,7 @@ module DL
def size()
@size
end
-
+
def pack(ary)
case SIZEOF_VOIDP
when SIZEOF_LONG
@@ -96,9 +96,9 @@ module DL
raise(RuntimeError, "sizeof(void*)?")
end
end
-
+
private
-
+
def parse_types(types)
@template = ""
addr = 0