Remove usage of unstable features const_ptr_null and const_ptr_null_mut

This commit is contained in:
Simon Sapin 2017-10-14 17:57:19 +02:00
parent 3bb76a5be5
commit 5a5b7d7f39
3 changed files with 4 additions and 7 deletions

View file

@ -134,8 +134,8 @@ impl NonCallbackInterfaceObjectClass {
name: b"Function\0" as *const _ as *const libc::c_char,
flags: 0,
cOps: &constructor_behavior.0,
spec: ptr::null(),
ext: ptr::null(),
spec: 0 as *const _,
ext: 0 as *const _,
oOps: &OBJECT_OPS,
},
proto_id: proto_id,