summaryrefslogtreecommitdiffstats
path: root/ext/dl/lib
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-20 15:35:48 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-20 15:35:48 +0000
commit01140893f6dd769b3d6690fbe41285d12f22e138 (patch)
tree08d6ffce3fc185927152eed8281407a1f3862826 /ext/dl/lib
parentfc5fce68e4cb48f1cb3275b3992f08bdfe4174ba (diff)
downloadruby-01140893f6dd769b3d6690fbe41285d12f22e138.tar.gz
ruby-01140893f6dd769b3d6690fbe41285d12f22e138.tar.xz
ruby-01140893f6dd769b3d6690fbe41285d12f22e138.zip
rename PtrData::alloc and Struct#alloc to malloc respectively.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/lib')
-rw-r--r--ext/dl/lib/dl/struct.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/struct.rb b/ext/dl/lib/dl/struct.rb
index faa1377c5..efa9118c1 100644
--- a/ext/dl/lib/dl/struct.rb
+++ b/ext/dl/lib/dl/struct.rb
@@ -81,7 +81,7 @@ module DL
return mem
end
- def alloc(size = nil)
+ def malloc(size = nil)
if( !size )
size = @size
end