Repository: PistonDevelopers/glfw-rs (language: rust)

Issue:
Incompatibility with gl-rs
```
error: mismatched types: expected `|&str| -> std::option::Option<extern "system" fn()>` but found `fn(&str) -> std::option::Option<extern "C" fn()>` (expected "system" fn but found "C" fn)
```

Which was: `gl::load_with(glfw::get_proc_address);`



Discussion / hints:
oof, forgot to change this!


Fix patch:
diff --git a/src/glfw/ffi.rs b/src/glfw/ffi.rs
index 731d3a65..0b6fe99d 100644
--- a/src/glfw/ffi.rs
+++ b/src/glfw/ffi.rs
@@ -246,7 +246,7 @@ pub static CURSOR_DISABLED              : c_int = 0x00034003;
 pub static CONNECTED                    : c_int = 0x00040001;
 pub static DISCONNECTED                 : c_int = 0x00040002;
 
-pub type GLFWglproc             = extern "C" fn();
+pub type GLFWglproc             = extern "system" fn();
 
 pub type GLFWerrorfun           = extern "C" fn(c_int,*c_char);
 pub type GLFWwindowposfun       = extern "C" fn(*GLFWwindow,c_int,c_int);


Test patch: