Skip to content

Commit e732ffa

Browse files
inklesspensdroege
authored andcommitted
cairo: Fix return type for cairo_script_create_for_stream.
Closes #1772.
1 parent cbfb65b commit e732ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cairo/sys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ extern "C" {
15231523
pub fn cairo_script_create_for_stream(
15241524
write_func: cairo_write_func_t,
15251525
closure: *mut c_void,
1526-
) -> cairo_status_t;
1526+
) -> *mut cairo_device_t;
15271527
#[cfg(feature = "script")]
15281528
#[cfg_attr(docsrs, doc(cfg(feature = "script")))]
15291529
pub fn cairo_script_from_recording_surface(

0 commit comments

Comments
 (0)