/[gr2lib]/trunk/gr2lib/core/coreclasses/header/granny_reference.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coreclasses/header/granny_reference.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by william, Sat Jul 17 05:53:44 2010 UTC revision 102 by william, Sat Jul 17 13:54:18 2010 UTC
# Line 28  namespace gr2lib.core.coreclasses.header Line 28  namespace gr2lib.core.coreclasses.header
28                  managed.NativePointer = pointer;                  managed.NativePointer = pointer;
29                  return managed;                  return managed;
30              }              }
31              catch (Exception ex)            catch
32              {              {
33                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
34                  Console.WriteLine(st.ToString() + "\n\n" + "Stack Trace: \n" + ex.ToString());  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
35                    Console.WriteLine(st.ToString());
36    #endif
37                  return default(granny_reference);                  return default(granny_reference);
38              }              }
39          }          }
# Line 45  namespace gr2lib.core.coreclasses.header Line 47  namespace gr2lib.core.coreclasses.header
47                  managed.Offset = native.Offset;                  managed.Offset = native.Offset;
48                  return managed;                  return managed;
49              }              }
50              catch (Exception ex)             catch
51              {              {
52                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
53                  Console.WriteLine(st.ToString() + "\n\n" + "Stack Trace: \n" + ex.ToString());  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
54                    Console.WriteLine(st.ToString());
55    #endif
56                  return default(granny_reference);                  return default(granny_reference);
57              }              }
58          }          }
59    
60          #region INativePointer Members      #region INativePointer Members
61          private IntPtr _NativePointer;          private IntPtr _NativePointer;
62          public IntPtr NativePointer { get { return _NativePointer; } set { _NativePointer = value; } }          public IntPtr NativePointer { get { return _NativePointer; } set { _NativePointer = value; } }
63          #endregion      #endregion
64    
65          #region igranny_reference members      #region igranny_reference members
66          private Int32 _SectionIndex;          private Int32 _SectionIndex;
67          private Int32 _Offset;          private Int32 _Offset;
68    
69          public Int32 SectionIndex { get { return _SectionIndex; } set { _SectionIndex = value; } }          public Int32 SectionIndex { get { return _SectionIndex; } set { _SectionIndex = value; } }
70          public Int32 Offset { get { return _Offset; } set { _Offset = value; } }          public Int32 Offset { get { return _Offset; } set { _Offset = value; } }
71          #endregion      #endregion
72      }      }
73  #endif  #endif
74  }  }

Legend:
Removed from v.97  
changed lines
  Added in v.102

  ViewVC Help
Powered by ViewVC 1.1.22