public void setListener(ScriptCompilerListener listener) { OgrePINVOKE.ScriptCompilerManager_setListener(swigCPtr, ScriptCompilerListener.getCPtr(listener)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public ScriptCompilerListener getListener() { global::System.IntPtr cPtr = OgrePINVOKE.ScriptCompilerManager_getListener(swigCPtr); ScriptCompilerListener ret = (cPtr == global::System.IntPtr.Zero) ? null : new ScriptCompilerListener(cPtr, false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScriptCompilerListener obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }