summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-26 10:53:11 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-26 10:53:11 +0000
commitdc260404fe1287517ce1fca8e41f2f7935ccfe01 (patch)
tree2425b428f0e1750d4ef296980f6ed579a28e0f74 /ext
parentee8addc13ffbacd66a4847d5adb917b5d1fc0601 (diff)
dlsizeof() should handle 'S' and 's'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/dl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c
index 5a492b5..c1e5311 100644
--- a/ext/dl/dl.c
+++ b/ext/dl/dl.c
@@ -208,8 +208,10 @@ dlsizeof(const char *cstr)
size += sizeof(short) * n;
break;
case 'P':
+ case 'S':
DLALIGN(0,size,VOIDP_ALIGN);
case 'p':
+ case 's':
size += sizeof(void*) * n;
break;
default: