Example #1
0
 internal static HandleRef getCPtr(b2Pair obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #2
0
 public static bool b2PairLessThan(b2Pair pair1, b2Pair pair2)
 {
     bool ret = Box2DPINVOKE.b2PairLessThan(b2Pair.getCPtr(pair1), b2Pair.getCPtr(pair2));
     if (Box2DPINVOKE.SWIGPendingException.Pending) throw Box2DPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }