Copy as Markdown

Other Tools

/* automatically generated by rust-bindgen 0.69.4 */
pub const PR_LANGUAGE_I_DEFAULT: u32 = 0;
pub type PRUint32 = ::std::os::raw::c_uint;
pub type PRInt32 = ::std::os::raw::c_int;
pub type PRErrorCode = PRInt32;
extern "C" {
pub fn PR_SetError(errorCode: PRErrorCode, oserr: PRInt32);
}
extern "C" {
pub fn PR_GetError() -> PRErrorCode;
}
pub type PRLanguageCode = PRUint32;
extern "C" {
pub fn PR_ErrorToString(
code: PRErrorCode,
language: PRLanguageCode,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn PR_ErrorToName(code: PRErrorCode) -> *const ::std::os::raw::c_char;
}