public virtual void writeSourceCode(SWIGTYPE_p_std__ostream os, SWIGTYPE_p_Ogre__RTShader__Program program)
 {
     RTShaderPINVOKE.ProgramWriter_writeSourceCode(swigCPtr, SWIGTYPE_p_std__ostream.getCPtr(os), SWIGTYPE_p_Ogre__RTShader__Program.getCPtr(program));
     if (RTShaderPINVOKE.SWIGPendingException.Pending)
     {
         throw RTShaderPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Ogre__RTShader__Program obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }