/[dotgnu-pnet]/pnet/engine/lib_marshal.c
ViewVC logotype

Diff of /pnet/engine/lib_marshal.c

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

revision 1.7 by uid66024, Tue Dec 23 21:26:29 2003 UTC revision 1.8 by ktreichel, Tue Aug 23 10:45:52 2005 UTC
# Line 135  ILNativeInt _IL_Marshal_OffsetOfInternal Line 135  ILNativeInt _IL_Marshal_OffsetOfInternal
135                  }                  }
136    
137                  /* Make sure that the class has been laid out */                  /* Make sure that the class has been laid out */
138                  IL_METADATA_WRLOCK(_thread);                  IL_METADATA_WRLOCK(_ILExecThreadProcess(_thread));
139                  if(!_ILLayoutClass(classInfo))                  if(!_ILLayoutClass(_ILExecThreadProcess(_thread), classInfo))
140                  {                  {
141                          IL_METADATA_UNLOCK(_thread);                          IL_METADATA_UNLOCK(_ILExecThreadProcess(_thread));
142                          return -1;                          return -1;
143                  }                  }
144    
# Line 154  ILNativeInt _IL_Marshal_OffsetOfInternal Line 154  ILNativeInt _IL_Marshal_OffsetOfInternal
154                                     !strcmp(ILField_Name(field), name))                                     !strcmp(ILField_Name(field), name))
155                                  {                                  {
156                                          offset = (ILNativeInt)(ILUInt32)(field->offset);                                          offset = (ILNativeInt)(ILUInt32)(field->offset);
157                                          IL_METADATA_UNLOCK(_thread);                                          IL_METADATA_UNLOCK(_ILExecThreadProcess(_thread));
158                                          return offset;                                          return offset;
159                                  }                                  }
160                          }                          }
161                          classInfo = ILClass_Parent(classInfo);                          classInfo = ILClass_Parent(classInfo);
162                  }                  }
163                  IL_METADATA_UNLOCK(_thread);                  IL_METADATA_UNLOCK(_ILExecThreadProcess(_thread));
164          }          }
165          return -1;          return -1;
166  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26