示例#1
0
        public bool _fireEvent(ScriptCompilerEvent evt, SWIGTYPE_p_void retval)
        {
            bool ret = OgrePINVOKE.ScriptCompiler__fireEvent(swigCPtr, ScriptCompilerEvent.getCPtr(evt), SWIGTYPE_p_void.getCPtr(retval));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public virtual bool handleEvent(ScriptCompiler compiler, ScriptCompilerEvent evt, SWIGTYPE_p_void retval)
        {
            bool ret = OgrePINVOKE.ScriptCompilerListener_handleEvent(swigCPtr, ScriptCompiler.getCPtr(compiler), ScriptCompilerEvent.getCPtr(evt), SWIGTYPE_p_void.getCPtr(retval));

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScriptCompilerEvent obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }