mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
dlsizeof() should handle 'S' and 's'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ee8addc13f
commit
dc260404fe
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue