aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/dl.h
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
commit4bf76b4e6c85db9177f1501843b8161ddfae222b (patch)
tree08d6ffce3fc185927152eed8281407a1f3862826 /ext/dl/dl.h
parenta2db8e72c10c5e5506f18314ac805cd8206a4181 (diff)
downloadruby-4bf76b4e6c85db9177f1501843b8161ddfae222b.tar.gz
rename PtrData::alloc and Struct#alloc to malloc respectively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/dl.h')
-rw-r--r--ext/dl/dl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dl/dl.h b/ext/dl/dl.h
index bfe83087cd..9554ea91ba 100644
--- a/ext/dl/dl.h
+++ b/ext/dl/dl.h
@@ -296,7 +296,8 @@ void dlptr_free(struct ptr_data *data);
void dlptr_init(VALUE val);
VALUE rb_dlptr_new(void *ptr, long size, freefunc_t func);
-VALUE rb_dlptr_alloc(long size, freefunc_t func);
+VALUE rb_dlptr_new2(VALUE klass, void *ptr, long size, freefunc_t func);
+VALUE rb_dlptr_malloc(long size, freefunc_t func);
void *rb_dlptr2cptr(VALUE val);
VALUE rb_dlsym_new(void (*func)(), const char *name, const char *type);