nss_sys/bindings/prtypes.rs
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5use std::os::raw::{c_int, c_uint};
6
7pub type PRIntn = c_int;
8pub type PRBool = PRIntn;
9pub type PRUword = usize;
10pub type PRInt32 = c_int;
11pub type PRUint32 = c_uint;
12pub const PR_FALSE: PRBool = 0;
13pub const PR_TRUE: PRBool = 1;