summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1997-10-03 10:51:10 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:33 +0900
commit7ad198827b6029d5338c6a2dfe68248da25e9db5 (patch)
tree2fc097b92bcbb5daba091852b40ef1c2640bb457 /struct.c
parent10d21745c8c1c3c78678ea7e0b62c0a7433ccfce (diff)
version 1.0-971003v1_0_971003
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-1.0-971003.tar.gz Fri Oct 3 10:51:10 1997 Yukihiro Matsumoto <matz@netlab.co.jp> * version 1.0-971003 * eval.c (ruby_options): f_require() called too early. * eval.c (rb_provide): module extentions should always be `.o'.
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/struct.c b/struct.c
index ae1abc5..d9e68a2 100644
--- a/struct.c
+++ b/struct.c
@@ -329,7 +329,7 @@ struct_clone(s)
return (VALUE)st;
}
-static VALUE
+VALUE
struct_aref(s, idx)
struct RStruct *s;
VALUE idx;
@@ -345,7 +345,7 @@ struct_aref(s, idx)
return s->ptr[i];
}
-static VALUE
+VALUE
struct_aset(s, idx, val)
struct RStruct *s;
VALUE idx, val;