Skip to content

Commit

Permalink
do not expose version as public api yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Frizi committed Jun 12, 2021
1 parent 371103c commit 505e799
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use core::hash::Hash;
use std::collections::HashSet;

mod version;
pub use version::Version;

#[cfg(not(target_arch = "wasm32"))]
mod native;
Expand Down
1 change: 1 addition & 0 deletions src/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use std::collections::HashSet;
use std::ffi::CString;

use crate::gl46 as native_gl;
use crate::version::Version;

#[derive(Default)]
struct Constants {
Expand Down
2 changes: 1 addition & 1 deletion src/version.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// A version number for a specific component of an OpenGL implementation
#[derive(Clone, Eq, Ord, PartialEq, PartialOrd)]
pub struct Version {
pub(crate) struct Version {
pub major: u32,
pub minor: u32,
pub is_embedded: bool,
Expand Down

0 comments on commit 505e799

Please sign in to comment.