File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ pub const fn is_valid_ident(s: &str) -> bool {
30
30
}
31
31
32
32
pub fn skip_doc_link_sym ( s : & str ) -> bool {
33
- matches ! ( s, "SDL_image" | "SDL_MAIN_USE_CALLBACKS" )
33
+ matches ! ( s, "SDL_image" | "SDL_MAIN_USE_CALLBACKS" ) ||
34
+ // FIXME: work around for rustdoc bug: https://github.com/rust-lang/rust/issues/133150
35
+ matches ! ( s, "SDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER" | "SDL_PROP_RENDERER_TEXTURE_FORMATS_POINTER" )
34
36
}
35
37
36
38
fn emit_extern_start ( ctx : & mut EmitContext , abi : & Option < FnAbi > , for_fn_ptr : bool ) -> EmitResult {
Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ extern "C" {
517
517
/// - [`SDL_PROP_RENDERER_VSYNC_NUMBER`]: the current vsync setting
518
518
/// - [`SDL_PROP_RENDERER_MAX_TEXTURE_SIZE_NUMBER`]: the maximum texture width
519
519
/// and height
520
- /// - [ `SDL_PROP_RENDERER_TEXTURE_FORMATS_POINTER`] : a (const [`SDL_PixelFormat`] *)
520
+ /// - `SDL_PROP_RENDERER_TEXTURE_FORMATS_POINTER`: a (const [`SDL_PixelFormat`] *)
521
521
/// array of pixel formats, terminated with [`SDL_PIXELFORMAT_UNKNOWN`],
522
522
/// representing the available texture formats for this renderer.
523
523
/// - [`SDL_PROP_RENDERER_OUTPUT_COLORSPACE_NUMBER`]: an [`SDL_ColorSpace`] value
Original file line number Diff line number Diff line change @@ -1613,7 +1613,7 @@ extern "C" {
1613
1613
///
1614
1614
/// These are additional supported properties on macOS:
1615
1615
///
1616
- /// - [ `SDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER`] : the
1616
+ /// - `SDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER`: the
1617
1617
/// `(__unsafe_unretained)` NSWindow associated with the window, if you want
1618
1618
/// to wrap an existing window.
1619
1619
/// - [`SDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER`]: the `(__unsafe_unretained)`
You can’t perform that action at this time.
0 commit comments