FACT++  1.0
objectDescriptorEntry_type* getNextDescriptorEntry ( objectDescriptor_type descriptor)

Definition at line 2402 of file dim_jni.c.

References objectDescriptor_struct::entries, objectDescriptor_struct::entry, Java_dim_ObjectDescriptor_addFieldToObjectDescriptor(), and objectDescriptor_struct::maxEntries.

Referenced by Java_dim_ObjectDescriptor_addFieldToObjectDescriptor().

2403 {
2404  if(descriptor->entries == descriptor->maxEntries)
2405  {
2406  objectDescriptorEntry_type* entry = realloc(descriptor->entry, (size_t)(descriptor->maxEntries+10));
2407 //printf("realloc descriptor\n");
2408  if(entry==NULL) return NULL;
2409 
2410  descriptor->entry = entry;
2411  descriptor->maxEntries = descriptor->maxEntries+10;
2412  }
2413  return descriptor->entry + descriptor->entries++;
2414 }
objectDescriptorEntry_type * entry
Definition: dim_jni.c:2372

+ Here is the call graph for this function:

+ Here is the caller graph for this function: