public NullableDecimal(decimal_t value) : this(CommonPINVOKE.new_NullableDecimal__SWIG_1(decimal_t.getCPtr(value)), true) { if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } }
public decimal_t GetValueOrDefault() { decimal_t ret = new decimal_t(CommonPINVOKE.NullableDecimal_GetValueOrDefault(swigCPtr), false); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(decimal_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }