Skip to content

Instantly share code, notes, and snippets.

@Blei
Created September 29, 2012 14:22
Show Gist options
  • Save Blei/3804149 to your computer and use it in GitHub Desktop.
Save Blei/3804149 to your computer and use it in GitHub Desktop.
impl CXCursor : IterBytes {
pure fn iter_bytes(lsb0: bool, f: Cb) {
iter_bytes_3(&self.kind, &self.xdata, &self.data, lsb0, f);
}
}
main.rs:37:4: 39:5 error: method `iter_bytes` has an incompatible type: expected argument mode ++, but found +
main.rs:37 pure fn iter_bytes(lsb0: bool, f: Cb) {
main.rs:38 iter_bytes_3(&self.kind, &self.xdata, &self.data, lsb0, f);
main.rs:39 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment