public CSourceWrapper LoadFile(string filePath)
    {
        IntPtr         cPtr = SwigEnginePINVOKE.CEngineWrapper_LoadFile(swigCPtr, filePath);
        CSourceWrapper ret  = (cPtr == IntPtr.Zero) ? null : new CSourceWrapper(cPtr, false);

        return(ret);
    }
 internal static HandleRef getCPtr(CSourceWrapper obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 3
0
 public Source(CSourceWrapper source)
 {
     this.source = source;
 }