I agree that using this vriable is not the best thing to do. But decode3d is not working at all yet. If you want to give it a try, feel free. But if you do so, let us know what you're doing so that we dont duplicate efforts.
juca PS: I forwarded your message to libredwg@gnu.org 2010/2/21 Timo Lähde <timovj.la...@gmail.com> > Hello! > > Is this better way to do that, because of variable i : > > dwg.spec line 1244: > > if (FIELD_VALUE(version)==1) > { > do > { > //FIELD_VALUE(sat_data) = (BITCODE_RC**) > realloc(FIELD_VALUE(sat_data), i * sizeof(BITCODE_RC*)); > FIELD_VALUE(sat_data) = (BITCODE_RC**) > realloc(FIELD_VALUE(sat_data), (i + 1) * sizeof(BITCODE_RC*)); > FIELD_BL (block_size); > //FIELD_VECTOR (sat_data[i++], RC, block_size); > FIELD_VECTOR (sat_data[i], RC, block_size); > i++; > } while(FIELD_VALUE(block_size)); > } > else > { > //TODO > fprintf(stderr, "TODO: Implement parsing of ACIS file in entities > 37,38 and 39.\n"); > } > > regards Timo VJ Lähde > > > > > >