[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libredwg] API changes
From: |
.Org.Com |
Subject: |
Re: [libredwg] API changes |
Date: |
Thu, 15 May 2014 09:14:14 +0530 |
On Thu, May 15, 2014 at 12:48 AM, gagan <address@hidden> wrote:
> I was just wondering that the API functions are quite small, should I
> add inline to those functions ?
You may try and evaluate comparative performance. But this may not be
high priority task.
> More over now the API is just a one huge file (17000~ LOC) containing
> all functions. Should I seprate those into various files depending
> upon entities and objects ?
>
> like api_circle.c/h, api_layer.c/h, api_line.c/h and then include all
> those in the main dwg_api.h file ?
Organised code is always better and should be practised always.
--
H.S.Rai
.Org.Com