Commit ef944258 authored by John Zhang's avatar John Zhang

fix test: opaque pointer has now been translated to uptr<void> by default

parent 6bc2bd9d
......@@ -59,7 +59,7 @@ def test_map_type_opqptr():
DIRP = rposix.DIRP
import sys
if sys.platform.startswith('linux'):
assert ll2mu.map_type(rposix.DIRP) == mutype.MuUPtr(mutype.MU_INT64)
assert ll2mu.map_type(rposix.DIRP) == mutype.MU_VOIDP
elif sys.platform == 'darwin':
assert ll2mu.map_type(rposix.DIRP) == mutype.MuUPtr(arrayofbytes(DIRP.TO.hints['getsize']()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment