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

Diff of /pnet/engine/lib_reflect.c

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

revision 1.69 by t3rmin4t0r, Sat Jun 11 07:27:13 2005 UTC revision 1.70 by ktreichel, Sun Jul 3 10:17:12 2005 UTC
# Line 260  static ILObject *DeserializeObject(ILExe Line 260  static ILObject *DeserializeObject(ILExe
260                          default:                          default:
261                                          if((serialType & IL_META_SERIALTYPE_ARRAYOF)!=0)                                          if((serialType & IL_META_SERIALTYPE_ARRAYOF)!=0)
262                                          {                                          {
263                                                    int index = 0;
264    
265                                                  arrayLen = ILSerializeReaderGetArrayLen(reader);                                                  arrayLen = ILSerializeReaderGetArrayLen(reader);
266                                                  arrayVal = (System_Array *)ILExecThreadNew                                                  arrayVal = (System_Array *)ILExecThreadNew
267                                                                  (thread, "[oSystem.Object;", "(Ti)V",                                                                  (thread, "[oSystem.Object;", "(Ti)V",
# Line 267  static ILObject *DeserializeObject(ILExe Line 269  static ILObject *DeserializeObject(ILExe
269                                                  buf = (ILObject**)(ArrayToBuffer(arrayVal));                                                  buf = (ILObject**)(ArrayToBuffer(arrayVal));
270                                                  while(arrayLen--)                                                  while(arrayLen--)
271                                                  {                                                  {
272                                                          buf[arrayLen]=DeserializeObject(thread,reader,                                                          buf[index++]=DeserializeObject(thread,reader,
273                                                                                  ILType_ElemType(type),                                                                                  ILType_ElemType(type),
274                                                                  (serialType & ~IL_META_SERIALTYPE_ARRAYOF));                                                                  (serialType & ~IL_META_SERIALTYPE_ARRAYOF));
275                                                          /* remove array prefix and reiterate */                                                          /* remove array prefix and reiterate */

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

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