empty enum replaces c_void

fix for #3968