internal static HandleRef getCPtr(SWIGTYPE_p_BSONContent obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void add(string arg0, SWIGTYPE_p_BSONContent arg1) { djonwrapperPINVOKE.BSONObj_add__SWIG_7(swigCPtr, arg0, SWIGTYPE_p_BSONContent.getCPtr(arg1)); if (djonwrapperPINVOKE.SWIGPendingException.Pending) throw djonwrapperPINVOKE.SWIGPendingException.Retrieve(); }
public SWIGTYPE_p_BSONContent getXpath(string xpath) { SWIGTYPE_p_BSONContent ret = new SWIGTYPE_p_BSONContent(djonwrapperPINVOKE.BSONObj_getXpath(swigCPtr, xpath), true); if (djonwrapperPINVOKE.SWIGPendingException.Pending) throw djonwrapperPINVOKE.SWIGPendingException.Retrieve(); return ret; }