Created
August 25, 2012 22:18
-
-
Save dbp/3471529 to your computer and use it in GitHub Desktop.
visit_estr_fixed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn visit_estr_fixed(_n: uint, _sz: uint, | |
_align: uint) -> bool { | |
self.align(_align); | |
self.out += ~"\""; | |
unsafe { | |
self.out += str::unsafe::from_buf_len(self.ptr as *u8, _n); | |
} | |
self.bump(_sz); | |
self.out += ~"\""; | |
true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment