Repository: brendanzab/gl-rs (language: rust)

Issue:
0.4.0 release
- https://github.com/bjz/gl-rs/pull/364 replaced `libc::c_void` with `()`, but this has not been published yet
- There are some broken examples https://github.com/bjz/gl-rs/pull/339
- @tomaka suggested a stable API for gl_generator in https://github.com/bjz/gl-rs/issues/338



Discussion / hints:
We might want to implement the changes in gl_generator first, to avoid breaking Glium later.

The "struct_triangle" example could be removed, unless there is a way to use a build script in the examples.

Sorry for the delay - I'll get on with this tonight.

Let's maybe change `*const ()` with `*const std::os::raw::c_void` again? (#364 in another way)

Yes, I would prefer that.


Fix patch:
diff --git a/gl/Cargo.toml b/gl/Cargo.toml
index 72abc61a..1a6bd025 100644
--- a/gl/Cargo.toml
+++ b/gl/Cargo.toml
@@ -2,7 +2,7 @@ example = []
 
 [package]
 name = "gl"
-version = "0.3.0"
+version = "0.4.0"
 authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>",
         "Corey Richardson",
         "Arseny Kapoulkine"
@@ -14,7 +14,7 @@ repository = "https://github.com/bjz/gl-rs/"
 
 [build-dependencies.gl_generator]
 path = "../gl_generator"
-version = "0.2.0"
+version = "0.3.0"
 
 [build-dependencies.khronos_api]
 path = "../khronos_api"
diff --git a/gl_generator/Cargo.toml b/gl_generator/Cargo.toml
index 7e2f2d13..1d52b434 100644
--- a/gl_generator/Cargo.toml
+++ b/gl_generator/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 
 name = "gl_generator"
-version = "0.2.0"
+version = "0.3.0"
 authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>",
         "Corey Richardson",
         "Arseny Kapoulkine"
@@ -16,7 +16,7 @@ path = "lib.rs"
 
 [dependencies.khronos_api]
 path = "../khronos_api"
-version = "0"
+version = "0.0.8"
 
 [dependencies]
 log = "0.3.2"


Test patch:
diff --git a/gl_tests/Cargo.toml b/gl_tests/Cargo.toml
index 1677c218..832ac691 100644
--- a/gl_tests/Cargo.toml
+++ b/gl_tests/Cargo.toml
@@ -6,7 +6,7 @@ build = "build.rs"
 
 [build-dependencies.gl_generator]
 path = "../gl_generator"
-version = "0.2"
+version = "0.3.0"
 
 [build-dependencies.khronos_api]
 path = "../khronos_api"