resemble Python's ctypes in Playground framework