Use *mut T for the T* pointers in SpiderMonkey.