public Joint CreateJoint(JointDef def) { using (var ptr = new StructToPtrMarshaller(def)) return(Joint.FromPtr(NativeMethods.b2world_createjoint(_worldPtr, ptr.Pointer))); }
void SayGoodbyeJoint(IntPtr ptr) { SayGoodbye(Joint.FromPtr(ptr)); }