summaryrefslogtreecommitdiff
path: root/ext/syck
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-01 10:57:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-01 10:57:32 +0000
commit070fcde39dcdca522658950247ab465010db60c9 (patch)
tree28a98461562d1c22aab4667b28c2115523360c51 /ext/syck
parenta222ce3000ec27229e9041cc953e04f28e43f950 (diff)
* ext/syck/rubyext.c (syck_emitter_write_m): forgot to declare
"self", making it default to "int". * ext/syck/rubyext.c (syck_emitter_simple_write): ditto. * gc.c (rb_gc): should mark backing store region on IA64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck')
-rw-r--r--ext/syck/rubyext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/syck/rubyext.c b/ext/syck/rubyext.c
index cdef3a0..1e6030b 100644
--- a/ext/syck/rubyext.c
+++ b/ext/syck/rubyext.c
@@ -1104,11 +1104,11 @@ syck_emitter_flush_m( self )
*/
VALUE
syck_emitter_write_m( self, str )
- VALUE str;
+ VALUE self, str;
{
SyckEmitter *emitter;
- Data_Get_Struct(self, SyckEmitter, emitter);
+ Data_Get_Struct(self, SyckEmitter, emitter);
syck_emitter_write( emitter, RSTRING(str)->ptr, RSTRING(str)->len );
return self;
}
@@ -1118,11 +1118,11 @@ syck_emitter_write_m( self, str )
*/
VALUE
syck_emitter_simple_write( self, str )
- VALUE str;
+ VALUE self, str;
{
SyckEmitter *emitter;
- Data_Get_Struct(self, SyckEmitter, emitter);
+ Data_Get_Struct(self, SyckEmitter, emitter);
syck_emitter_simple( emitter, RSTRING(str)->ptr, RSTRING(str)->len );
return self;
}