public static bool ParameterTaker(ref AParamType /* cstype */ param)
 {
     IntPtr p_param;
     unsafe { void *pp_param = &p_param;    /* csin_pre */
     try {
       bool ret = CppApiPINVOKE.RefRefTest_ParameterTaker((IntPtr) pp_param /* csin */);
       if (CppApiPINVOKE.SWIGPendingException.Pending) throw CppApiPINVOKE.SWIGPendingException.Retrieve();
       return ret;
     } finally {
     param = new AParamType(p_param, false);
     /* csin_post */
     }
     } /* csin_terminator */
 }
Example #2
0
        public static bool ParameterTaker(ref AParamType /* cstype */ param)
        {
            IntPtr p_param;

            unsafe { void *pp_param = &p_param; /* csin_pre */
                     try {
                         bool ret = CppApiPINVOKE.RefRefTest_ParameterTaker((IntPtr)pp_param /* csin */);
                         if (CppApiPINVOKE.SWIGPendingException.Pending)
                         {
                             throw CppApiPINVOKE.SWIGPendingException.Retrieve();
                         }
                         return(ret);
                     } finally {
                         param = new AParamType(p_param, false);
                         /* csin_post */
                     } } /* csin_terminator */
        }
Example #3
0
 internal static HandleRef getCPtr(AParamType obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(AParamType obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }