gleam icon indicating copy to clipboard operation
gleam copied to clipboard

Add newtypes for different resources

Open jdm opened this issue 6 years ago • 0 comments

I encountered a problem in Servo where we were calling delete_buffer on the result of gen_textures, and the effect was surprisingly subtle. This could be avoided if APIs like delete_buffer accepted strong types instead of integers.

jdm avatar Jan 11 '19 18:01 jdm