added missing Ptr types to java wrappers