1 2 3 4 5 6
use libc::{c_char}; extern "C" { pub fn SDL_GetBasePath() -> *const c_char; pub fn SDL_GetPrefPath(arg: *const c_char, app: *const c_char) -> *const c_char; }
1 2 3 4 5 6
use libc::{c_char}; extern "C" { pub fn SDL_GetBasePath() -> *const c_char; pub fn SDL_GetPrefPath(arg: *const c_char, app: *const c_char) -> *const c_char; }
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)