mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove configure from repositry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
816779043d
commit
a5b607c895
9 changed files with 218 additions and 5530 deletions
9
st.c
9
st.c
|
@ -45,11 +45,18 @@ static struct st_hash_type type_strhash = {
|
|||
strhash,
|
||||
};
|
||||
|
||||
#ifndef xmalloc
|
||||
#ifdef RUBY_PLATFORM
|
||||
#define xmalloc ruby_xmalloc
|
||||
#define xcalloc ruby_xcalloc
|
||||
#define xrealloc ruby_xrealloc
|
||||
#define xfree ruby_xfree
|
||||
|
||||
void *xmalloc();
|
||||
void *xcalloc();
|
||||
void *xrealloc();
|
||||
void xfree();
|
||||
#endif
|
||||
|
||||
static void rehash();
|
||||
|
||||
#define alloc(type) (type*)xmalloc((unsigned)sizeof(type))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue