syntax: Make the pipe compiler stop generating set_buffer_ calls

This commit is contained in:
Tim Chevalier 2013-01-29 15:09:20 -08:00
parent e22aa029fb
commit 4e45d7111c

View File

@ -368,7 +368,7 @@ pub impl protocol: gen_init {
ext_cx.block(
self.states.map_to_vec(
|s| ext_cx.parse_stmt(
fmt!("data.%s.set_buffer_(buffer)",
fmt!("data.%s.set_buffer(buffer)",
s.name))),
ext_cx.parse_expr(
fmt!("::ptr::addr_of(&(data.%s))",
@ -395,7 +395,7 @@ pub impl protocol: gen_init {
ext_cx.block(
self.states.map_to_vec(
|s| ext_cx.parse_stmt(
fmt!("data.%s.set_buffer_(buffer)",
fmt!("data.%s.set_buffer(buffer)",
s.name))),
ext_cx.parse_expr(
fmt!("::ptr::addr_of(&(data.%s))",