Skip to content

Commit 04f39f8

Browse files
committed
expand hoedown renderer struct
1 parent 18b5740 commit 04f39f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustdoc/html/markdown.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ struct hoedown_buffer {
110110
size: libc::size_t,
111111
asize: libc::size_t,
112112
unit: libc::size_t,
113-
other: [libc::size_t, ..3],
113+
data_realloc: *mut Option<extern "C" fn(*mut libc::c_void, libc::size_t)>,
114+
data_free: Option<extern "C" fn(*mut libc::c_void)>,
115+
buffer_free: Option<extern "C" fn(*mut libc::c_void)>,
114116
}
115117

116118
// hoedown FFI

0 commit comments

Comments
 (0)