luqmana / rust-opencl

OpenCL bindings for Rust.
Other
170 stars 42 forks source link

Constants as statics? #75

Open pierzchalski opened 9 years ago

pierzchalski commented 9 years ago

In cl.rs, all the constants are defined as statics instead of consts, which gets annoying if you're trying to wrap the values in things like the bitmasks! macro. Is there a reason they're defined this way?