rename voidp to cptr