I have no clear opinion on this. Both solutions seem to be ok. It is your decision.
Am 11.07.2013 um 07:12 schrieb Avneet Kaur <[email protected]>: > On Wed, Jul 10, 2013 at 10:17 PM, Avneet Kaur <[email protected]> wrote: >> According to my review, there are two paths either >> - Declare decoding function of every version in decode.h file and define in >> separate file depending upon its version. >> OR >> - Make .h file to decode every version like declaration of decode_R13_R15() >> will be in decode_r2000.h file and definition in decode_r2000.c file and >> calling from decode.c file by dwg_decode_data(). > > > Please reply so that I could start refactoring on this. > > -- > Er. Avneet Kaur > Blog: www.avneetkhasla.wordpress.com > > "Coming together is a beginning; keeping together is progress; working > together is success." >
